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) { %}' + '