From 3e7e49884efa7af2e34742b50338aabf0df116d4 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 27 Feb 2017 22:25:05 +0100 Subject: Replace deprecated $.tipsy(...) by $.tooltip(...) Signed-off-by: Christoph Wurst --- apps/files/js/breadcrumb.js | 2 +- apps/files/js/file-upload.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/files') 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(''); } 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({ + '' + t('files', '...') + ''); - $('#uploadprogressbar').tipsy({gravity:'n', fade:true, live:true}); + $('#uploadprogressbar').toopltip({placement: 'bottom'}); self._showProgressBar(); self.trigger('start', e, data); }); -- cgit v1.2.3