From 8f91781933a61e4f49e011f98dbeca71e88b5442 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 16 Sep 2013 15:20:22 +0000 Subject: [PATCH] Change nextmatch actions to use ajax submit, not post --- etemplate/js/et2_extension_nextmatch_actions.js | 3 +-- etemplate/js/etemplate2.js | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etemplate/js/et2_extension_nextmatch_actions.js b/etemplate/js/et2_extension_nextmatch_actions.js index 40411bec01..baf068d130 100644 --- a/etemplate/js/et2_extension_nextmatch_actions.js +++ b/etemplate/js/et2_extension_nextmatch_actions.js @@ -184,8 +184,7 @@ function nm_action(_action, _senders, _target, _ids) } else { - // Full POST - nextmatch.getInstanceManager().postSubmit(); + nextmatch.getInstanceManager().submit(); } } else diff --git a/etemplate/js/etemplate2.js b/etemplate/js/etemplate2.js index f76d542ed4..98c5acd132 100644 --- a/etemplate/js/etemplate2.js +++ b/etemplate/js/etemplate2.js @@ -122,6 +122,7 @@ etemplate2.prototype.clear = function() this.widgetContainer.free(); this.widgetContainer = null; } + $j(this.DOMContainer).empty(); // Remove self from the index for(name in this.templates)