Log ime-enable and ime-disable events
Change-Id: I96964cb190d1a67bba536458ebadd3bd677d4fa6
This commit is contained in:
committed by
Santhosh
parent
6d530cbf33
commit
034acf6f0f
@@ -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