Log ime-enable and ime-disable events

Change-Id: I96964cb190d1a67bba536458ebadd3bd677d4fa6
This commit is contained in:
Niklas Laxström
2013-06-28 12:32:56 +00:00
committed by Santhosh
parent 6d530cbf33
commit 034acf6f0f

View File

@@ -82,11 +82,13 @@
disable: function () {
this.registry.isDirty = true;
this.registry.enable = false;
mw.uls.logEvent( { action: 'ime-disable' } );
},
enable: function () {
this.registry.isDirty = true;
this.registry.enable = true;
mw.uls.logEvent( { action: 'ime-enable' } );
},
isEnabled: function () {