Update the local copy of preferences before saving to reflect other module changes
Change-Id: Idfd6d4f71eff9d1a1e6606b3fa91abf9ddc7b183
This commit is contained in:
@@ -69,6 +69,8 @@
|
||||
return;
|
||||
}
|
||||
|
||||
// get updated copy of preferences
|
||||
inputPreferences = mw.uls.preferences();
|
||||
inputPreferences.set( 'ime', this.registry );
|
||||
inputPreferences.save( callback );
|
||||
// reset the dirty bit
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
},
|
||||
|
||||
save: function ( callback ) {
|
||||
// get updated copy of preferences
|
||||
ulsPreferences = mw.uls.preferences();
|
||||
ulsPreferences.set( 'webfonts', this.registry );
|
||||
ulsPreferences.save( callback );
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user