]> source.dussan.org Git - nextcloud-server.git/commit
Properly update internal file info with updated tags
authorVincent Petry <pvince81@owncloud.com>
Mon, 12 Jan 2015 16:54:35 +0000 (17:54 +0100)
committerVincent Petry <pvince81@owncloud.com>
Mon, 12 Jan 2015 16:58:57 +0000 (17:58 +0100)
commitef1dd3ea0ae74a72f92ab1c6504cd24a2bd865c9
tree322f851da7190d0b2b7a128069dd24992429caae
parent331d73c3a37e74f1e322b9bfb239940275422a65
Properly update internal file info with updated tags

Whenever tags are updated, they need to be updated in the file list's
file info array as well.

This commit also adds unit tests and makes sure that whichever tags are
sent back by the server after update are used when updating
attributes/fileinfo.
apps/files/js/tagsplugin.js
apps/files/tests/js/tagspluginspec.js