mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Bind hover handler in file upload widget on input element as input always is on top and transparent
This commit is contained in:
parent
539477a0e3
commit
29666faaeb
@ -489,12 +489,11 @@ var et2_file = et2_inputWidget.extend(
|
|||||||
this.progress.addClass("progress_dropDown_fileList");
|
this.progress.addClass("progress_dropDown_fileList");
|
||||||
|
|
||||||
//Add uploading indicator and bind hover handler on it
|
//Add uploading indicator and bind hover handler on it
|
||||||
jQuery(this.node).find('span')
|
jQuery(this.node).find('span').addClass('totalProgress_loader');
|
||||||
.addClass('totalProgress_loader')
|
|
||||||
.hover(function(){
|
jQuery(this.node).find('input').hover(function(){
|
||||||
jQuery('.progress_dropDown_fileList').show();
|
jQuery('.progress_dropDown_fileList').show();
|
||||||
});
|
});
|
||||||
|
|
||||||
//Bind click handler to dismiss the dropdown while uploading
|
//Bind click handler to dismiss the dropdown while uploading
|
||||||
jQuery('body').on('click', function(event){
|
jQuery('body').on('click', function(event){
|
||||||
if (event.target.className != 'remove')
|
if (event.target.className != 'remove')
|
||||||
|
Loading…
Reference in New Issue
Block a user