Fire the ime-enable/disable hook upon saving the preferences

Change-Id: I98e502cd8dc1990b10b1f824614c84d3bf5b993f
This commit is contained in:
Amir E. Aharoni
2013-08-20 08:54:52 +03:00
committed by Niklas Laxström
parent 6cf1486399
commit 4e04182ecd
3 changed files with 16 additions and 7 deletions

View File

@@ -110,16 +110,18 @@
/**
* Log IME disabling
* @param {string} context Where the setting was changed.
*/
disableIME: function () {
this.log( { action: 'ime-disable' } );
disableIME: function ( context ) {
this.log( { action: 'ime-disable', context: context } );
},
/**
* Log IME enabling
* @param {string} context Where the setting was changed.
*/
enableIME: function () {
this.log( { action: 'ime-enable' } );
enableIME: function ( context ) {
this.log( { action: 'ime-enable', context: context } );
},
/**