From a293de8614f44a0c586af9914747f0107a25feff Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 30 Jul 2013 12:21:19 +0000 Subject: [PATCH] fix not working full submits if etemplate is etemplate_old and app uses etemplate_new --- etemplate/js/etemplate2.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etemplate/js/etemplate2.js b/etemplate/js/etemplate2.js index 1e47a26925..af41fe7d04 100644 --- a/etemplate/js/etemplate2.js +++ b/etemplate/js/etemplate2.js @@ -77,7 +77,7 @@ function etemplate2(_container, _menuaction) { if (typeof _menuaction == "undefined") { - _menuaction = "etemplate::ajax_process_content"; + _menuaction = "etemplate_new::ajax_process_content"; } // Copy the given parameters @@ -207,7 +207,7 @@ etemplate2.prototype.load = function(_name, _url, _data, _callback) } if(typeof app[appname] == "object") { - app_callback = function(et2) {app[appname].et2_ready(et2)}; + app_callback = function(et2) {app[appname].et2_ready(et2);}; } // Create the document fragment into which the HTML will be injected @@ -615,7 +615,7 @@ function etemplate2_handle_load(_type, _response) var node = document.getElementById(data.DOMNodeID); if(node) { - var et2 = new etemplate2(node, "etemplate::ajax_process_content"); + var et2 = new etemplate2(node, "etemplate_new::ajax_process_content"); et2.load(data.name, data.url, data.data); return true; }