]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix: 'Upload button tooltip doesn't disappear'
authorOskar Hollmann <oskarhollmann@gmail.com>
Wed, 19 Mar 2014 21:09:09 +0000 (22:09 +0100)
committerOskar Hollmann <oskarhollmann@gmail.com>
Wed, 19 Mar 2014 21:09:09 +0000 (22:09 +0100)
Fixes issue #7461. Tipsy tooltip must be hidden when the upload starts. Otherwise it covers the progress bar and stays in DOM.

apps/files/js/file-upload.js [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index ea4061c..c668bbf
@@ -320,6 +320,7 @@ OC.Upload = {
                                 */
                                start: function(e) {
                                        OC.Upload.log('start', e, null);
+                                       $('#upload').tipsy('hide'); // otherwise "Upload max." covers progress bar
                                },
                                submit: function(e, data) {
                                        OC.Upload.rememberUpload(data);