diff --git a/api/js/etemplate/etemplate2.js b/api/js/etemplate/etemplate2.js index 83f2199b43..232cf7c741 100644 --- a/api/js/etemplate/etemplate2.js +++ b/api/js/etemplate/etemplate2.js @@ -426,10 +426,6 @@ etemplate2.prototype.load = function(_name, _url, _data, _callback, _app, _no_et }; } - // Create the document fragment into which the HTML will be injected - var frag = document.createDocumentFragment(); - - // Clear any existing instance this.clear(); @@ -478,9 +474,6 @@ etemplate2.prototype.load = function(_name, _url, _data, _callback, _app, _no_et // Connect to the window resize event jQuery(window).on("resize."+this.uniqueId, this, function(e) {e.data.resize(e);}); - // Insert the document fragment to the DOM Container - this.DOMContainer.appendChild(frag); - if(egw.debug_level() >= 3 && console.groupEnd) { egw.window.console.groupEnd(); @@ -784,7 +777,7 @@ etemplate2.prototype.postSubmit = function() { // unbind our session-destroy handler, as we are submitting this.unbind_unload(); - + var form = jQuery("
");