plugins/kolab_files
Aleksander Machniak
machniak at kolabsys.com
Fri Mar 15 13:34:46 CET 2013
plugins/kolab_files/skins/larry/ui.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 6000fd925ff09bf160a36f9c1ed316857831d568
Author: Aleksander Machniak <machniak at kolabsys.com>
Date: Fri Mar 15 13:34:33 2013 +0100
Fix upload button in IE
diff --git a/plugins/kolab_files/skins/larry/ui.js b/plugins/kolab_files/skins/larry/ui.js
index a0a3c49..760aaf3 100644
--- a/plugins/kolab_files/skins/larry/ui.js
+++ b/plugins/kolab_files/skins/larry/ui.js
@@ -105,10 +105,10 @@ function kolab_files_upload_input(button)
// opacity:0 does the trick, display/visibility doesn't work
.css({opacity: 0, cursor: 'pointer', position: 'absolute', top: '10000px', left: '10000px'});
- // In FF we need to move the browser file-input's button under the cursor
+ // In FF and IE we need to move the browser file-input's button under the cursor
// Thanks to the size attribute above we know the length of the input field
- if (bw.mz)
- file.css({marginLeft: '-75px'});
+ if (bw.mz || bw.ie)
+ file.css({marginLeft: '-80px'});
// Note: now, I observe problem with cursor style on FF < 4 only
link.css({overflow: 'hidden', cursor: 'pointer'})
More information about the commits
mailing list