mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +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
1ad841f9d8
commit
01319d2704
@ -490,12 +490,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