diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-12-12 17:06:57 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-12-15 12:10:54 +0100 |
commit | dfe922b72aad25ad478365ade6deecb063de0f59 (patch) | |
tree | cb743f6d7b71cb8af6fc6fec236bea9dd9636bbd | |
parent | a5bb66f4a723bce5c5fbe919a48cd5133204ef62 (diff) | |
download | nextcloud-server-dfe922b72aad25ad478365ade6deecb063de0f59.tar.gz nextcloud-server-dfe922b72aad25ad478365ade6deecb063de0f59.zip |
Correctly replace favorites icon when re-rendering file actions
-rw-r--r-- | apps/files/js/tagsplugin.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/tagsplugin.js b/apps/files/js/tagsplugin.js index 77b3167ab5e..f75c7d49f77 100644 --- a/apps/files/js/tagsplugin.js +++ b/apps/files/js/tagsplugin.js @@ -42,7 +42,7 @@ '<a href="#" class="action action-favorite ' + (isFavorite ? 'permanent' : '') + '">' + starState + '</a>' ); - $file.find('td:first>.favorite').prepend($icon); + $file.find('td:first>.favorite').replaceWith($icon); return $icon; }, actionHandler: function(fileName, context) { |