]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove unnecessary tipsy for Files delete
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 18 Jul 2013 16:41:01 +0000 (18:41 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 18 Jul 2013 16:41:01 +0000 (18:41 +0200)
apps/files/js/fileactions.js
core/js/js.js

index bb0a27638e4a1f18976d0c80788bec10b29156b0..59cf007f53dd1c069cf2ac945513d41555e38cdb 100644 (file)
@@ -125,7 +125,7 @@ var FileActions = {
                        if (typeof trashBinApp !== 'undefined' && trashBinApp) {
                                var html = '<a href="#" original-title="' + t('files', 'Delete permanently') + '" class="action delete" />';
                        } else {
-                               var html = '<a href="#" original-title="' + t('files', 'Delete') + '" class="action delete delete-icon" />';
+                               var html = '<a href="#" class="action delete delete-icon" />';
                        }
                        var element = $(html);
                        element.data('action', actions['Delete']);
index 5158b66d73a7ab849b31083d4a3a8fbba3d2bfd1..6558adbb6a7625fe1f5f9db69f7ce16e84eaf331 100644 (file)
@@ -664,7 +664,6 @@ $(document).ready(function(){
        $('.password .action').tipsy({gravity:'se', fade:true, live:true});
        $('#upload').tipsy({gravity:'w', fade:true});
        $('.selectedActions a').tipsy({gravity:'s', fade:true, live:true});
-       $('a.delete').tipsy({gravity: 'e', fade:true, live:true});
        $('a.action').tipsy({gravity:'s', fade:true, live:true});
        $('#headerSize').tipsy({gravity:'s', fade:true, live:true});
        $('td.filesize').tipsy({gravity:'s', fade:true, live:true});