diff --git a/ui/src/editor-core/toolbar.js b/ui/src/editor-core/toolbar.js index 3b16995d08..5a605a320d 100644 --- a/ui/src/editor-core/toolbar.js +++ b/ui/src/editor-core/toolbar.js @@ -1309,6 +1309,11 @@ Toolbar.prototype.loadContent = function( // Create content this.createContent(menu, forceReload); + // Prevent default form submit + this.DOMObject.find('#content-' + menu + ' form').submit(function(e) { + e.preventDefault(); + }); + // Save user preferences (savePrefs) && this.savePrefs(); };