changeset 2578:bfcbd1b2a6da

fix #390, cannot upload files, start all button inoperative -- thanks jigar54
author RogerHaase <haaserd@gmail.com>
date Fri, 14 Mar 2014 08:37:33 -0700
parents 2b9002879ed0
children 5c6c4fe6da4a
files MoinMoin/static/js/jfu.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/static/js/jfu.js	Tue Mar 11 14:47:25 2014 +0100
+++ b/MoinMoin/static/js/jfu.js	Fri Mar 14 08:37:33 2014 -0700
@@ -191,7 +191,7 @@
         };
 
         this.initEventHandlers = function () {
-            container.find('.file_upload_cancel button').live('click', function () {
+            container.find('.file_upload_cancel').on('click', 'button', function () {
                 setTimeout(function () {
                     if (!uploadHandler.uploadTable.find('.file_upload_progress div:visible:first').length) {
                         uploadHandler.multiButtons.find('.file_upload_start:first, .file_upload_cancel:first').fadeOut();