[Pkg-owncloud-commits] [owncloud] 62/70: Fix Upload button does not disappear
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:40:11 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v6.0.5RC1
in repository owncloud.
commit f82aed007563bc731e81e7dd945263e5142ae088
Author: Vincent Petry <pvince81 at owncloud.com>
Date: Thu Aug 14 13:56:27 2014 +0200
Fix Upload button does not disappear
Tipsy tooltip must be hidden when the upload starts. Otherwise it covers
the progress bar and stays in DOM.
Backport of fa28c089fa3ffb72e97ca0f89cbfade3d0a8a8a5 and
90839b784f748b18a2a5fae4cc3f80bd1df7b355 from master
---
apps/files/js/file-upload.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js
index 93da4bb..7c65e33 100644
--- a/apps/files/js/file-upload.js
+++ b/apps/files/js/file-upload.js
@@ -296,6 +296,8 @@ $(document).ready(function() {
*/
start: function(e) {
OC.Upload.log('start', e, null);
+ //hide the tooltip otherwise it covers the progress bar
+ $('#upload').tipsy('hide');
},
submit: function(e, data) {
OC.Upload.rememberUpload(data);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list