File tree 1 file changed +14
-10
lines changed
browser/components/preferences
1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -1241,17 +1241,8 @@ var gPrivacyPane = {
1241
1241
this . initOptOutStudyCheckbox ( ) ;
1242
1242
}
1243
1243
this . initAddonRecommendationsCheckbox ( ) ;
1244
+ this . initPrivateAttributionCheckbox ( ) ;
1244
1245
}
1245
- dataCollectionCheckboxHandler ( {
1246
- checkbox : document . getElementById ( "privateAttribution" ) ,
1247
- pref : PREF_PRIVATE_ATTRIBUTION_ENABLED ,
1248
- matchPref ( ) {
1249
- return AppConstants . MOZ_TELEMETRY_REPORTING ;
1250
- } ,
1251
- isDisabled ( ) {
1252
- return ! AppConstants . MOZ_TELEMETRY_REPORTING ;
1253
- } ,
1254
- } ) ;
1255
1246
1256
1247
let signonBundle = document . getElementById ( "signonBundle" ) ;
1257
1248
let pkiBundle = document . getElementById ( "pkiBundle" ) ;
@@ -3526,6 +3517,19 @@ var gPrivacyPane = {
3526
3517
} ) ;
3527
3518
} ,
3528
3519
3520
+ initPrivateAttributionCheckbox ( ) {
3521
+ dataCollectionCheckboxHandler ( {
3522
+ checkbox : document . getElementById ( "privateAttribution" ) ,
3523
+ pref : PREF_PRIVATE_ATTRIBUTION_ENABLED ,
3524
+ matchPref ( ) {
3525
+ return AppConstants . MOZ_TELEMETRY_REPORTING ;
3526
+ } ,
3527
+ isDisabled ( ) {
3528
+ return ! AppConstants . MOZ_TELEMETRY_REPORTING ;
3529
+ } ,
3530
+ } ) ;
3531
+ } ,
3532
+
3529
3533
observe ( aSubject , aTopic ) {
3530
3534
switch ( aTopic ) {
3531
3535
case "sitedatamanager:updating-sites" :
You can’t perform that action at this time.
0 commit comments