/*+*********************************************************************************** * The contents of this file are subject to the vtiger CRM Public License Version 1.0 * ("License"); You may not use this file except in compliance with the License * The Original Code is: vtiger CRM Open Source * The Initial Developer of the Original Code is vtiger. * Portions created by vtiger are Copyright (C) vtiger. * All Rights Reserved. *************************************************************************************/ Users_Detail_Js("Settings_Users_PreferenceDetail_Js",{},{ /** * We have to load Settings Index Js but the parent module name will be empty so we are extending this api and passing * last parameter as settings (This is useful to settings side events like accordion click and settings menu search) */ addIndexComponent : function() { this.addModuleSpecificComponent('Index',app.getModuleName(),'Settings'); }, /** * register Events for my preference */ registerEvents : function(){ this._super(); Settings_Users_PreferenceEdit_Js.registerChangeEventForCurrencySeparator(); Settings_Users_PreferenceEdit_Js.registerNameFieldChangeEvent(); } });