diff options
author | kondou <kondou@ts.unde.re> | 2014-03-21 20:23:31 +0100 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2014-03-21 20:23:31 +0100 |
commit | dda7129a243c7ebdbcdf9c2b5dbf167542402bc2 (patch) | |
tree | d03dff6783ebabb6273a19ed59a6b9b3731e923e /apps/files/js | |
parent | 556c6eca2397eaa03c4503822d647c8b6cb5e70e (diff) | |
parent | 4be0b3f6cce540282c6745d6bf3d2a0fa4ac65b4 (diff) | |
download | nextcloud-server-dda7129a243c7ebdbcdf9c2b5dbf167542402bc2.tar.gz nextcloud-server-dda7129a243c7ebdbcdf9c2b5dbf167542402bc2.zip |
Merge branch 'master' of https://github.com/owncloud/core into last_cron_log
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/file-upload.js | 2 | ||||
-rw-r--r-- | apps/files/js/upgrade.js | 28 |
2 files changed, 2 insertions, 28 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index ea4061c9b0b..371c83e742c 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -320,6 +320,8 @@ OC.Upload = { */ 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); diff --git a/apps/files/js/upgrade.js b/apps/files/js/upgrade.js deleted file mode 100644 index 714adf824a1..00000000000 --- a/apps/files/js/upgrade.js +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2014 - * - * This file is licensed under the Affero General Public License version 3 - * or later. - * - * See the COPYING-README file. - * - */ - -/* global OC */ -$(document).ready(function () { - var eventSource, total, bar = $('#progressbar'); - console.log('start'); - bar.progressbar({value: 0}); - eventSource = new OC.EventSource(OC.filePath('files', 'ajax', 'upgrade.php')); - eventSource.listen('total', function (count) { - total = count; - console.log(count + ' files needed to be migrated'); - }); - eventSource.listen('count', function (count) { - bar.progressbar({value: (count / total) * 100}); - console.log(count); - }); - eventSource.listen('done', function () { - document.location.reload(); - }); -}); |