Merge "Log ime-enable and ime-disable events"
This commit is contained in:
@@ -82,11 +82,13 @@
|
|||||||
disable: function () {
|
disable: function () {
|
||||||
this.registry.isDirty = true;
|
this.registry.isDirty = true;
|
||||||
this.registry.enable = false;
|
this.registry.enable = false;
|
||||||
|
mw.uls.logEvent( { action: 'ime-disable' } );
|
||||||
},
|
},
|
||||||
|
|
||||||
enable: function () {
|
enable: function () {
|
||||||
this.registry.isDirty = true;
|
this.registry.isDirty = true;
|
||||||
this.registry.enable = true;
|
this.registry.enable = true;
|
||||||
|
mw.uls.logEvent( { action: 'ime-enable' } );
|
||||||
},
|
},
|
||||||
|
|
||||||
isEnabled: function () {
|
isEnabled: function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user