diff --git a/php/clonos.php b/php/clonos.php index fdc67c90..6d8e5530 100644 --- a/php/clonos.php +++ b/php/clonos.php @@ -1435,7 +1435,7 @@ class ClonOS { //$nres=$db->selectAssoc('SELECT name FROM authkey WHERE idx='.$key_id); // Ok, casted as int above. //if($nres['name']!==false) $key_name=$nres['name']; $nres=$db->selectAssoc('SELECT authkey FROM authkey WHERE idx='.$key_id); - if($nres['authkey']!==false) $authkey=$nres['authkey']; + if($nres['authkey']!==false) $authkey=$nres['authkey']; else $authkey=''; //var_dump($nres);exit; $user_pw=(!empty($form['user_password']))?' ci_user_pw_user='.$form['user_password'].' ':''; diff --git a/public/js/clonos.js b/public/js/clonos.js index 1b9f8183..69436c69 100644 --- a/public/js/clonos.js +++ b/public/js/clonos.js @@ -2152,9 +2152,11 @@ var clonos={ { $('.tsimple tbody').empty(); //$('#cdown #cinfo .left').html(''); + this.clearSummaryInfo(); $('div.main').removeClass('asplit'); }, + ddmenu_interval:null, cnt_mode:'new', DDMenuShow:function(id,td,tr,event) @@ -3227,6 +3229,7 @@ var clonos={ getSummaryInfo:function(jname,mode) { + this.clearSummaryInfo(); this.openedJailSummary=jname; var posts=[{'name':'jname','value':jname},{'name':'mode','value':mode}]; this.loadData('getSummaryInfo',$.proxy(this.onGetSummaryInfo,this),posts); @@ -3259,10 +3262,15 @@ var clonos={ var dl=''; for(n in data) { + if(n=='authorized') continue; dl+='