From df6060f5942767f311bc78bfa9f2a36ab74fce9e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 5 May 2016 18:23:52 +0000 Subject: [PATCH] move eT2 templates to api, fixes cant create a directory in filemanger in minimal install --- api/js/etemplate/et2_widget_dialog.js | 4 ++-- api/js/etemplate/widget_browser.js | 2 +- {etemplate => api}/templates/default/dtd.xet | 0 {etemplate => api}/templates/default/long_task.xet | 0 {etemplate => api}/templates/default/prompt.xet | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename {etemplate => api}/templates/default/dtd.xet (100%) rename {etemplate => api}/templates/default/long_task.xet (100%) rename {etemplate => api}/templates/default/prompt.xet (100%) diff --git a/api/js/etemplate/et2_widget_dialog.js b/api/js/etemplate/et2_widget_dialog.js index ea97c278d0..17bf4dc946 100644 --- a/api/js/etemplate/et2_widget_dialog.js +++ b/api/js/etemplate/et2_widget_dialog.js @@ -621,7 +621,7 @@ jQuery.extend(et2_dialog, //(function(){ "use strict"; return message: _message } }, - template: egw.webserverUrl+'/etemplate/templates/default/prompt.xet', + template: egw.webserverUrl+'/api/templates/default/prompt.xet', class: "et2_prompt" }, et2_dialog._create_parent(_egw_or_appname)); }, @@ -698,7 +698,7 @@ jQuery.extend(et2_dialog, //(function(){ "use strict"; return }} ]; var dialog = et2_createWidget("dialog", { - template: egw.webserverUrl+'/etemplate/templates/default/long_task.xet', + template: egw.webserverUrl+'/api/templates/default/long_task.xet', value: { content: { message: _message diff --git a/api/js/etemplate/widget_browser.js b/api/js/etemplate/widget_browser.js index 6a13cf4f7f..b2d109ca23 100644 --- a/api/js/etemplate/widget_browser.js +++ b/api/js/etemplate/widget_browser.js @@ -311,7 +311,7 @@ widget_browser.prototype._dtd_builder = function() message: egw.lang('DTD Content') } }, - template: egw.webserverUrl+'/etemplate/templates/default/dtd.xet', + template: egw.webserverUrl+'/api/templates/default/dtd.xet', modal:true, resizable:false }); diff --git a/etemplate/templates/default/dtd.xet b/api/templates/default/dtd.xet similarity index 100% rename from etemplate/templates/default/dtd.xet rename to api/templates/default/dtd.xet diff --git a/etemplate/templates/default/long_task.xet b/api/templates/default/long_task.xet similarity index 100% rename from etemplate/templates/default/long_task.xet rename to api/templates/default/long_task.xet diff --git a/etemplate/templates/default/prompt.xet b/api/templates/default/prompt.xet similarity index 100% rename from etemplate/templates/default/prompt.xet rename to api/templates/default/prompt.xet