diff --git a/etemplate/js/et2_widget_file.js b/etemplate/js/et2_widget_file.js index b33884a2eb..0ded5f2bec 100644 --- a/etemplate/js/et2_widget_file.js +++ b/etemplate/js/et2_widget_file.js @@ -489,12 +489,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')