aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-02-27 22:25:05 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-02-27 22:25:05 +0100
commit3e7e49884efa7af2e34742b50338aabf0df116d4 (patch)
treec9ec3e13bdf5881bf253b4e08ac0343cdcd48384 /apps/files
parent019574014702657fa34acac4a631f78e27c20db8 (diff)
downloadnextcloud-server-3e7e49884efa7af2e34742b50338aabf0df116d4.tar.gz
nextcloud-server-3e7e49884efa7af2e34742b50338aabf0df116d4.zip
Replace deprecated $.tipsy(...) by $.tooltip(...)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/breadcrumb.js2
-rw-r--r--apps/files/js/file-upload.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/js/breadcrumb.js b/apps/files/js/breadcrumb.js
index ff9700456da..2a4c2bc8a52 100644
--- a/apps/files/js/breadcrumb.js
+++ b/apps/files/js/breadcrumb.js
@@ -272,7 +272,7 @@
// set the path of this one as title for the ellipsis
this.$el.find('.crumb.ellipsized')
.attr('title', $crumb.attr('data-dir'))
- .tipsy();
+ .tooltip();
this.$el.find('.ellipsis')
.wrap('<a class="ellipsislink" href="' + encodeURI(OC.generateUrl('apps/files/?dir=' + $crumb.attr('data-dir'))) + '"></a>');
}
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js
index 0fbf3f559fe..7d7922124ca 100644
--- a/apps/files/js/file-upload.js
+++ b/apps/files/js/file-upload.js
@@ -895,7 +895,7 @@ OC.Uploader.prototype = _.extend({
start: function(e) {
self.log('start', e, null);
//hide the tooltip otherwise it covers the progress bar
- $('#upload').tipsy('hide');
+ $('#upload').tooltip('hide');
},
fail: function(e, data) {
var upload = self.getUpload(data);
@@ -991,7 +991,7 @@ OC.Uploader.prototype = _.extend({
+ '</span><span class="mobile">'
+ t('files', '...')
+ '</span></em>');
- $('#uploadprogressbar').tipsy({gravity:'n', fade:true, live:true});
+ $('#uploadprogressbar').toopltip({placement: 'bottom'});
self._showProgressBar();
self.trigger('start', e, data);
});