Fix: 'Upload button tooltip doesn't disappear'

Fixes issue #7461. Tipsy tooltip must be hidden when the upload starts. Otherwise it covers the progress bar and stays in DOM.
This commit is contained in:
Oskar Hollmann 2014-03-19 22:09:09 +01:00
parent 01e9e40d83
commit fa28c089fa

1
apps/files/js/file-upload.js Normal file → Executable file
View file

@ -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);