mirror of
https://github.com/zyx0814/dzzoffice.git
synced 2025-01-08 11:57:57 +08:00
修复模板编译兼容问题
This commit is contained in:
parent
48a2b882f7
commit
50af954621
@ -302,10 +302,10 @@ function submitdata(){
|
|||||||
}else{
|
}else{
|
||||||
$.post(MOD_URL+'&op=positionlist&do=geffolderinfo',{'fid':fid},function(data){
|
$.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){}
|
try{if(typeof parent.showWindow_callback == 'function') parent.showWindow_callback(fid,data);}catch(e){}
|
||||||
if(parent.$callback){
|
if(parent.{$callback}){
|
||||||
try{ parent.$callback(fid,data);}catch(e){}
|
try{ parent.{$callback}(fid,data);}catch(e){}
|
||||||
}else{
|
}else{
|
||||||
try{ opened.$callback(fid,data);}catch(e){}
|
try{ opened.{$callback}(fid,data);}catch(e){}
|
||||||
}
|
}
|
||||||
|
|
||||||
hide_window();
|
hide_window();
|
||||||
|
@ -71,10 +71,10 @@
|
|||||||
parent.showWindow_callback(data,'$token');
|
parent.showWindow_callback(data,'$token');
|
||||||
}
|
}
|
||||||
}catch(e){}
|
}catch(e){}
|
||||||
if (parent.$callback) {
|
if (parent.{$callback}) {
|
||||||
try{parent.$callback(data, '$token');}catch(e){}
|
try{parent.{$callback}(data, '$token');}catch(e){}
|
||||||
} else {
|
} else {
|
||||||
try{ opened.$callback(data, '$token');}catch(e){}
|
try{ opened.{$callback}(data, '$token');}catch(e){}
|
||||||
}
|
}
|
||||||
hide_window();
|
hide_window();
|
||||||
}
|
}
|
||||||
@ -99,10 +99,10 @@
|
|||||||
parent.showWindow_callback(data,'$token');
|
parent.showWindow_callback(data,'$token');
|
||||||
}
|
}
|
||||||
}catch(e){}
|
}catch(e){}
|
||||||
if (parent.$callback) {
|
if (parent.{$callback}) {
|
||||||
try{parent.$callback(data, '$token');}catch(e){}
|
try{parent.{$callback}(data, '$token');}catch(e){}
|
||||||
} else {
|
} else {
|
||||||
try{ opened.$callback(data, '$token');}catch(e){}
|
try{ opened.{$callback}(data, '$token');}catch(e){}
|
||||||
}
|
}
|
||||||
hide_window();
|
hide_window();
|
||||||
}
|
}
|
||||||
@ -135,10 +135,10 @@
|
|||||||
}
|
}
|
||||||
}catch(e){}
|
}catch(e){}
|
||||||
|
|
||||||
if (parent.$callback) {
|
if (parent.{$callback}) {
|
||||||
try{ parent.$callback(fid, data);}catch(e){}
|
try{ parent.{$callback}(fid, data);}catch(e){}
|
||||||
} else {
|
} else {
|
||||||
try{ opened.$callback(fid, data);}catch(e){}
|
try{ opened.{$callback}(fid, data);}catch(e){}
|
||||||
}
|
}
|
||||||
hide_window();
|
hide_window();
|
||||||
|
|
||||||
@ -159,13 +159,13 @@
|
|||||||
parent.showWindow_callback(data,'$token');
|
parent.showWindow_callback(data,'$token');
|
||||||
}
|
}
|
||||||
}catch(e){}
|
}catch(e){}
|
||||||
if (parent.$callback) {
|
if (parent.{$callback}) {
|
||||||
try{
|
try{
|
||||||
parent.$callback(data, '$token');
|
parent.{$callback}(data, '$token');
|
||||||
}catch(e){}
|
}catch(e){}
|
||||||
} else {
|
} else {
|
||||||
try{
|
try{
|
||||||
opened.$callback(data, '$token');
|
opened.{$callback}(data, '$token');
|
||||||
}catch(e){}
|
}catch(e){}
|
||||||
}
|
}
|
||||||
hide_window();
|
hide_window();
|
||||||
|
@ -372,10 +372,10 @@
|
|||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
$.post(MOD_URL + '&op=positionlist&do=geffolderinfo', {'fid': fid}, function (data) {
|
$.post(MOD_URL + '&op=positionlist&do=geffolderinfo', {'fid': fid}, function (data) {
|
||||||
if (parent.$callback) {
|
if (parent.{$callback}) {
|
||||||
parent.$callback(fid, data);
|
parent.{$callback}(fid, data);
|
||||||
} else {
|
} else {
|
||||||
opened.$callback(fid, data);
|
opened.{$callback}(fid, data);
|
||||||
}
|
}
|
||||||
hide_window();
|
hide_window();
|
||||||
}, 'json')
|
}, 'json')
|
||||||
|
@ -234,7 +234,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
try{
|
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){};
|
}catch(e){};
|
||||||
hideWindow("$_GET['handlekey']");
|
hideWindow("$_GET['handlekey']");
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user