mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Use current app to get around missing etemplate run rights
This commit is contained in:
parent
0745db84bd
commit
fb2c103cef
@ -208,7 +208,7 @@ class etemplate_new extends etemplate_widget_template
|
||||
|
||||
var data = ' . json_encode($load_array) . ';
|
||||
$j(".et2_container").not("#'.$dom_id.'").on("load", function() {
|
||||
var et2 = new etemplate2(document.getElementById("'.$dom_id.'"), "etemplate_new::ajax_process_content");
|
||||
var et2 = new etemplate2(document.getElementById("'.$dom_id.'"), "'.$currentapp.'.etemplate_new.ajax_process_content.etemplate");
|
||||
et2.load(data.name,data.url,data.data);
|
||||
});
|
||||
})</script>';
|
||||
|
@ -178,7 +178,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
var et2 = new etemplate2(node, "etemplate_new::ajax_process_content");
|
||||
var et2 = new etemplate2(node, window.egw_appName+".etemplate_new.ajax_process_content.etemplate");
|
||||
et2.load(data.name,data.url,data.data,callback);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user