From 67b27a5377f7cf890288e15a519c976e3f2f2003 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 16 Jul 2012 23:36:15 +0200 Subject: [PATCH] Minor JS logic error --- javascript/CMSMain.Translatable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/CMSMain.Translatable.js b/javascript/CMSMain.Translatable.js index 0b3ef6d..e73bf8a 100755 --- a/javascript/CMSMain.Translatable.js +++ b/javascript/CMSMain.Translatable.js @@ -54,7 +54,7 @@ */ $('.CMSMain :input[name=action_createtranslation]').entwine({ - onclick: function() { + onclick: function(e) { this.parents('form').trigger('submit', [this]); e.preventDefault(); return false;