forked from extern/egroupware
Use current app to get around missing etemplate run rights
This commit is contained in:
parent
31a42e3110
commit
d1c5bf2243
@ -138,7 +138,7 @@ var et2_file = et2_inputWidget.extend(
|
||||
onError: function(event, name, error) { return self.onError(event,name,error);},
|
||||
sendBoundary: window.FormData || jQuery.browser.mozilla,
|
||||
beforeSend: function(form) { return self.beforeSend(form);},
|
||||
url: egw.ajaxUrl("etemplate_widget_file::ajax_upload::etemplate"),
|
||||
url: egw.ajaxUrl(self.egw().getAppName()+".etemplate_widget_file.ajax_upload.etemplate"),
|
||||
autoclear: !(this.options.onchange)
|
||||
},this.asyncOptions);
|
||||
this.asyncOptions.fieldName = this.options.id;
|
||||
|
Loading…
Reference in New Issue
Block a user