mirror of
https://github.com/zyx0814/dzzoffice.git
synced 2025-01-07 03:16:58 +08:00
修复模板编译兼容问题
This commit is contained in:
parent
48a2b882f7
commit
50af954621
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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')
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user