From 50af954621c823d20a0605f156448b1a692a097f Mon Sep 17 00:00:00 2001 From: zyx0814 Date: Sun, 29 Sep 2024 21:58:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A8=A1=E6=9D=BF=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E5=85=BC=E5=AE=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dzz/system/template/filelist.htm | 6 +++--- dzz/system/template/fileselection/index.htm | 24 ++++++++++----------- dzz/system/template/positionlist.htm | 6 +++--- dzz/system/template/selorguser.htm | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/dzz/system/template/filelist.htm b/dzz/system/template/filelist.htm index 1530ba4..8ff963e 100644 --- a/dzz/system/template/filelist.htm +++ b/dzz/system/template/filelist.htm @@ -302,10 +302,10 @@ function submitdata(){ }else{ $.post(MOD_URL+'&op=positionlist&do=geffolderinfo',{'fid':fid},function(data){ try{if(typeof parent.showWindow_callback == 'function') parent.showWindow_callback(fid,data);}catch(e){} - if(parent.$callback){ - try{ parent.$callback(fid,data);}catch(e){} + if(parent.{$callback}){ + try{ parent.{$callback}(fid,data);}catch(e){} }else{ - try{ opened.$callback(fid,data);}catch(e){} + try{ opened.{$callback}(fid,data);}catch(e){} } hide_window(); diff --git a/dzz/system/template/fileselection/index.htm b/dzz/system/template/fileselection/index.htm index 76462e9..1778e02 100644 --- a/dzz/system/template/fileselection/index.htm +++ b/dzz/system/template/fileselection/index.htm @@ -71,10 +71,10 @@ parent.showWindow_callback(data,'$token'); } }catch(e){} - if (parent.$callback) { - try{parent.$callback(data, '$token');}catch(e){} + if (parent.{$callback}) { + try{parent.{$callback}(data, '$token');}catch(e){} } else { - try{ opened.$callback(data, '$token');}catch(e){} + try{ opened.{$callback}(data, '$token');}catch(e){} } hide_window(); } @@ -99,10 +99,10 @@ parent.showWindow_callback(data,'$token'); } }catch(e){} - if (parent.$callback) { - try{parent.$callback(data, '$token');}catch(e){} + if (parent.{$callback}) { + try{parent.{$callback}(data, '$token');}catch(e){} } else { - try{ opened.$callback(data, '$token');}catch(e){} + try{ opened.{$callback}(data, '$token');}catch(e){} } hide_window(); } @@ -135,10 +135,10 @@ } }catch(e){} - if (parent.$callback) { - try{ parent.$callback(fid, data);}catch(e){} + if (parent.{$callback}) { + try{ parent.{$callback}(fid, data);}catch(e){} } else { - try{ opened.$callback(fid, data);}catch(e){} + try{ opened.{$callback}(fid, data);}catch(e){} } hide_window(); @@ -159,13 +159,13 @@ parent.showWindow_callback(data,'$token'); } }catch(e){} - if (parent.$callback) { + if (parent.{$callback}) { try{ - parent.$callback(data, '$token'); + parent.{$callback}(data, '$token'); }catch(e){} } else { try{ - opened.$callback(data, '$token'); + opened.{$callback}(data, '$token'); }catch(e){} } hide_window(); diff --git a/dzz/system/template/positionlist.htm b/dzz/system/template/positionlist.htm index abc21a9..078a99a 100644 --- a/dzz/system/template/positionlist.htm +++ b/dzz/system/template/positionlist.htm @@ -372,10 +372,10 @@ return false; } else { $.post(MOD_URL + '&op=positionlist&do=geffolderinfo', {'fid': fid}, function (data) { - if (parent.$callback) { - parent.$callback(fid, data); + if (parent.{$callback}) { + parent.{$callback}(fid, data); } else { - opened.$callback(fid, data); + opened.{$callback}(fid, data); } hide_window(); }, 'json') diff --git a/dzz/system/template/selorguser.htm b/dzz/system/template/selorguser.htm index bab95ec..f502950 100644 --- a/dzz/system/template/selorguser.htm +++ b/dzz/system/template/selorguser.htm @@ -234,7 +234,7 @@ } }); try{ - $callback(ids,data,'$token');//ids:选中的id列表如:[g_1,125,g_32...],g_开头的标识是机构部门或群组 + {$callback}(ids,data,'$token');//ids:选中的id列表如:[g_1,125,g_32...],g_开头的标识是机构部门或群组 }catch(e){}; hideWindow("$_GET['handlekey']"); return false;