mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
Minor JS logic error
This commit is contained in:
parent
7e1b7a6240
commit
67b27a5377
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user