fixed saimod files menu, system statesystem speedup - no more sync calls - everything is async now ;-)

This commit is contained in:
Ulf Gebhardt 2015-04-13 20:08:10 +02:00
parent ce4a8b12fa
commit ffb0479165
3 changed files with 4 additions and 2 deletions

View File

@ -167,7 +167,7 @@ SYSTEM.prototype.load = function(id,forced){
if(!forced && this.state_info[id]){
this.handle_call_pages(this.state_info[id],id,forced,true);
}else {
this.call('call=pages&group='+this.group+'&state='+id,function(data){system.handle_call_pages(data,id,forced,false);},{},"json",false);}
this.call('call=pages&group='+this.group+'&state='+id,function(data){system.handle_call_pages(data,id,forced,false);},{},"json",true);}
};
SYSTEM.prototype.load_css = function loadCSS(csssrc,forced) {

View File

@ -52,6 +52,8 @@ function init_saimod_sys_files_list(){
processData: false
});
});
files_menu();
}
function files_menu(){

View File

@ -8,7 +8,7 @@ class saistart_sys_sai extends \SYSTEM\SAI\SaiModule {
\SYSTEM\locale::getStrings(\SYSTEM\DBD\system_locale_string::VALUE_CATEGORY_SYSTEM_SAI),
\SYSTEM\locale::getStrings(\SYSTEM\DBD\system_locale_string::VALUE_CATEGORY_SYSTEM_SAI_ERROR));
return \SYSTEM\PAGE\replace::replaceFile( \SYSTEM\WEBPATH(new \SYSTEM\PSAI(),'modules/saistart_sys_sai/tpl/saistart.tpl'),$vars);}
public static function html_li_menu(){return '<li class="active"><a id="menu_start" href="">'.\SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_SAI_CONFIG_TITLE).'</a></li>';}
public static function html_li_menu(){return '<li class="active"><a id="menu_start" href="#">'.\SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_SAI_CONFIG_TITLE).'</a></li>';}
public static function right_public(){return true;}
public static function right_right(){return true;}