diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2012-10-30 14:23:38 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2012-10-30 14:23:38 +0100 |
commit | 3db43a9980049c80d9f3cd2cf510b8a527189ded (patch) | |
tree | 2d0b8c6af00ea9944ab50953654a034984203288 /apps/files/js/fileactions.js | |
parent | db5e8f3eeac46708d4a437fded5d83fb6eaad558 (diff) | |
parent | 3fdf239b478273155a68ec4ede8d4e4dd54b504d (diff) | |
download | nextcloud-server-3db43a9980049c80d9f3cd2cf510b8a527189ded.tar.gz nextcloud-server-3db43a9980049c80d9f3cd2cf510b8a527189ded.zip |
Merge branch 'master' into navigation
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r-- | apps/files/js/fileactions.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 24c8e85656c..82d990bf780 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -80,9 +80,9 @@ var FileActions = { if (img.call) { img = img(file); } - var html = '<a href="#" class="action">'; + var html = '<a href="#" class="action" data-action="'+name+'">'; if (img) { - html += '<img src="' + img + '"/> '; + html += '<img class ="svg" src="' + img + '"/> '; } html += t('files', name) + '</a>'; var element = $(html); @@ -111,7 +111,7 @@ var FileActions = { } var element = $(html); if (img) { - element.append($('<img src="' + img + '"/>')); + element.append($('<img class ="svg" src="' + img + '"/>')); } element.data('action', 'Delete'); element.click(function (event) { |