diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-03-27 20:53:40 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-03-27 20:53:40 +0200 |
commit | ede0a675bc6f411f04c3bb889e1375aff6e7c13d (patch) | |
tree | 6e8c3b23f7c7ba0f25f0b09c7617185249e8d54d /core | |
parent | ff75d65d7e82dcd86a7290a46c2da668fb34225f (diff) | |
parent | cb2dd97509ffd039fbd321aea4a8d631e3effcc7 (diff) | |
download | nextcloud-server-ede0a675bc6f411f04c3bb889e1375aff6e7c13d.tar.gz nextcloud-server-ede0a675bc6f411f04c3bb889e1375aff6e7c13d.zip |
Merge branch 'master' into calendar_sharing
Diffstat (limited to 'core')
-rw-r--r-- | core/js/oc-vcategories.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/core/js/oc-vcategories.txt b/core/js/oc-vcategories.txt index 76d4245f5eb..31216f80bd3 100644 --- a/core/js/oc-vcategories.txt +++ b/core/js/oc-vcategories.txt @@ -17,7 +17,7 @@ Set the app specific values in your javascript file. This is what I've used for OCCategories.app = 'contacts'; OCCategories.changed = Contacts.UI.Card.categoriesChanged; -If OCCategories.changed point is set that function will be called each time the categories have been changed +If OCCategories.changed is set that function will be called each time the categories have been changed in the editor (add/delete/rescan) to allow the app to update the UI accordingly. The only argument to the function is an array of the updated categories e.g.: @@ -25,4 +25,9 @@ OCCategories.changed = function(categories) { for(var category in categories) { console.log(categories[category]); } -}
\ No newline at end of file +} + +To show the categories editor call: + + OCCategories.edit() + |