summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-08-10 15:57:21 +0200
committerVincent Petry <pvince81@owncloud.com>2015-08-10 15:57:21 +0200
commit86e1eaf370ff5c290805bac130f3c3bbd1d1c774 (patch)
tree51de588683b9fe02a21736fd2f2a32051dd34bcd /apps/files
parent08912308a05090ab757636cd8e542298ebd90942 (diff)
downloadnextcloud-server-86e1eaf370ff5c290805bac130f3c3bbd1d1c774.tar.gz
nextcloud-server-86e1eaf370ff5c290805bac130f3c3bbd1d1c774.zip
Inline actions using default renderer are now always permanent
Default renderer like the favorite icon can decide whether to use the permanent class or not. Fixed sharing code to properly update the icon according to sharing state modifications.
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/fileactions.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index 0d9161c6eb4..5ec26d8b334 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -308,6 +308,7 @@
var $actionLink = this._makeActionLink(params, context);
context.$file.find('a.name>span.fileactions').append($actionLink);
+ $actionLink.addClass('permanent');
return $actionLink;
}
},