diff --git a/etemplate/js/et2_widget_file.js b/etemplate/js/et2_widget_file.js index f0916dd935..4dd92f93ad 100644 --- a/etemplate/js/et2_widget_file.js +++ b/etemplate/js/et2_widget_file.js @@ -490,12 +490,11 @@ var et2_file = et2_inputWidget.extend( this.progress.addClass("progress_dropDown_fileList"); //Add uploading indicator and bind hover handler on it - jQuery(this.node).find('span') - .addClass('totalProgress_loader') - .hover(function(){ + jQuery(this.node).find('span').addClass('totalProgress_loader'); + + jQuery(this.node).find('input').hover(function(){ jQuery('.progress_dropDown_fileList').show(); }); - //Bind click handler to dismiss the dropdown while uploading jQuery('body').on('click', function(event){ if (event.target.className != 'remove')