Change nextmatch actions to use ajax submit, not post

This commit is contained in:
Nathan Gray 2013-09-16 15:20:22 +00:00
parent 68b1178657
commit 8f91781933
2 changed files with 2 additions and 2 deletions

View File

@ -184,8 +184,7 @@ function nm_action(_action, _senders, _target, _ids)
} }
else else
{ {
// Full POST nextmatch.getInstanceManager().submit();
nextmatch.getInstanceManager().postSubmit();
} }
} }
else else

View File

@ -122,6 +122,7 @@ etemplate2.prototype.clear = function()
this.widgetContainer.free(); this.widgetContainer.free();
this.widgetContainer = null; this.widgetContainer = null;
} }
$j(this.DOMContainer).empty();
// Remove self from the index // Remove self from the index
for(name in this.templates) for(name in this.templates)