var UniteSettingsRev = new function(){ var arrControls = {}; var colorPicker; var t=this; this.getSettingsObject = function(formID){ var obj = new Object(); var form = document.getElementById(formID); var name,value,type,flagUpdate; //enabling all form items connected to mx var len = form.elements.length; for(var i=0; i"); }); }) } /** * init the settings function, set the tootips on sidebars. */ var init = function(){ //init tipsy jQuery(".list_settings li .setting_text").tipsy({ gravity:"e", delayIn: 70 }); jQuery(".tipsy_enabled_top").tipsy({ gravity:"s", delayIn: 70 }); //init controls initControls(); initColorPicker(); initImageSearch(); //init checklist jQuery(".settings_wrapper .input_checklist").each(function(){ var select = jQuery(this); var minWidth = select.data("minwidth"); var options = { zIndex:1000 }; if(minWidth) options.minWidth = minWidth; select.dropdownchecklist(options); }); } //call "constructor" jQuery(document).ready(function(){ init(); }); } // UniteSettings class end