diff options
author | Julia Kirschenheuter <6078378+JuliaKirschenheuter@users.noreply.github.com> | 2022-12-23 11:54:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-23 11:54:25 +0100 |
commit | f176b3b3dd7febce8c1008f70d133c425fa87c22 (patch) | |
tree | 307959201710592460aaca449e13c3de44274e2d /apps/files/js/filelist.js | |
parent | 99382a094c550ee725856290e05f915e4b05c5d7 (diff) | |
parent | 3485450b20327a7901bd8e0a62a2fa948903ee42 (diff) | |
download | nextcloud-server-f176b3b3dd7febce8c1008f70d133c425fa87c22.tar.gz nextcloud-server-f176b3b3dd7febce8c1008f70d133c425fa87c22.zip |
Merge pull request #35795 from nextcloud/enh/35770-Replace_custom_tooltips_with_native_one_for_files
Replace custom tooltips with native ones in files
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r-- | apps/files/js/filelist.js | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 1eed1902b29..89fc3f7e9c5 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1856,9 +1856,7 @@ "title": formatted, "data-timestamp": mtime, "style": 'color:rgb('+modifiedColor+','+modifiedColor+','+modifiedColor+')' - }).text(text) - .tooltip({placement: 'top'}) - ); + }).text(text)); tr.find('.filesize').text(simpleSize); tr.append(td); return tr; @@ -2893,7 +2891,6 @@ }; function restore() { - input.tooltip('hide'); tr.data('renaming',false); form.remove(); td.children('a.name').children(':not(.thumbnail-wrapper)').show(); @@ -2914,7 +2911,6 @@ try { var newName = input.val().trim(); - input.tooltip('hide'); form.remove(); if (newName !== oldName) { @@ -2974,9 +2970,6 @@ } } catch (error) { input.attr('title', error); - input.tooltip({placement: 'right', trigger: 'manual'}); - input.tooltip('_fixTitle'); - input.tooltip('show'); input.addClass('error'); } return false; @@ -2985,13 +2978,9 @@ // verify filename on typing try { checkInput(); - input.tooltip('hide'); input.removeClass('error'); } catch (error) { input.attr('title', error); - input.tooltip({placement: 'right', trigger: 'manual'}); - input.tooltip('_fixTitle'); - input.tooltip('show'); input.addClass('error'); } if (event.keyCode === 27) { @@ -3852,7 +3841,6 @@ })); $actionsContainer.prepend($newButton); - $newButton.tooltip({'placement': 'bottom'}); $newButton.attr('aria-expanded', 'false'); $newButton.click(_.bind(this._onClickNewButton, this)); this._newButton = $newButton; @@ -3863,7 +3851,6 @@ if (!$target.hasClass('.button')) { $target = $target.closest('.button'); } - this._newButton.tooltip('hide'); $target.attr('aria-expanded', 'true'); event.preventDefault(); if ($target.hasClass('disabled')) { |