diff --git a/javascript/GridFieldBulkImageUpload.js b/javascript/GridFieldBulkImageUpload.js index 35440d3..82cf422 100644 --- a/javascript/GridFieldBulkImageUpload.js +++ b/javascript/GridFieldBulkImageUpload.js @@ -41,6 +41,12 @@ } }); + $('div.ss-upload .ss-uploadfield-item-editform form').entwine({ + onsubmit: function(e) { + return false; + } + }); + $('#bulkImageUploadUpdateBtn,#bulkImageUploadUpdateCancelBtn').entwine({ onmatch: function(){ $(this).addClass('ui-state-disabled ssui-button-disabled'); diff --git a/javascript/GridFieldBulkImageUpload_downloadtemplate.js b/javascript/GridFieldBulkImageUpload_downloadtemplate.js index 10dffc5..c937d42 100644 --- a/javascript/GridFieldBulkImageUpload_downloadtemplate.js +++ b/javascript/GridFieldBulkImageUpload_downloadtemplate.js @@ -23,7 +23,7 @@ jQuery(document).ready(function(){ '' + '{% if (!file.error) { %}' + '
'+ - '
'+ + ''+ ''+ ''+ diff --git a/javascript/GridFieldBulkManager.js b/javascript/GridFieldBulkManager.js index 75f6208..0ea55ec 100644 --- a/javascript/GridFieldBulkManager.js +++ b/javascript/GridFieldBulkManager.js @@ -140,6 +140,12 @@ onunmatch: function(){ } }); + + $('.bulkEditingForm').entwine({ + onsubmit: function(){ + return false; + } + }); $('.bulkEditingForm input, .bulkEditingForm select, .bulkEditingForm textarea').entwine({ onchange: function(){