move eT2 templates to api, fixes cant create a directory in filemanger in minimal install

This commit is contained in:
Ralf Becker 2016-05-05 18:23:52 +00:00
parent 6ce45b634c
commit df6060f594
5 changed files with 3 additions and 3 deletions

View File

@ -621,7 +621,7 @@ jQuery.extend(et2_dialog, //(function(){ "use strict"; return
message: _message message: _message
} }
}, },
template: egw.webserverUrl+'/etemplate/templates/default/prompt.xet', template: egw.webserverUrl+'/api/templates/default/prompt.xet',
class: "et2_prompt" class: "et2_prompt"
}, et2_dialog._create_parent(_egw_or_appname)); }, et2_dialog._create_parent(_egw_or_appname));
}, },
@ -698,7 +698,7 @@ jQuery.extend(et2_dialog, //(function(){ "use strict"; return
}} }}
]; ];
var dialog = et2_createWidget("dialog", { var dialog = et2_createWidget("dialog", {
template: egw.webserverUrl+'/etemplate/templates/default/long_task.xet', template: egw.webserverUrl+'/api/templates/default/long_task.xet',
value: { value: {
content: { content: {
message: _message message: _message

View File

@ -311,7 +311,7 @@ widget_browser.prototype._dtd_builder = function()
message: egw.lang('DTD Content') message: egw.lang('DTD Content')
} }
}, },
template: egw.webserverUrl+'/etemplate/templates/default/dtd.xet', template: egw.webserverUrl+'/api/templates/default/dtd.xet',
modal:true, modal:true,
resizable:false resizable:false
}); });