mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 01:00:20 -04:00
Remember categories when they have changed.
This commit is contained in:
parent
3efa5f17f2
commit
60fe9dda5d
1 changed files with 3 additions and 2 deletions
|
|
@ -467,8 +467,9 @@ Contacts={
|
|||
}
|
||||
return false;
|
||||
},
|
||||
categoriesChanged:function(categories) { // Categories added/deleted.
|
||||
console.log('categoriesChanged for ' + Contacts.UI.Card.id + ' : ' + categories);
|
||||
categoriesChanged:function(newcategories) { // Categories added/deleted.
|
||||
console.log('categoriesChanged for ' + Contacts.UI.Card.id + ' : ' + newcategories);
|
||||
categories = newcategories;
|
||||
var categorylist = $('#categories_value').find('input');
|
||||
$.getJSON(OC.filePath('contacts', 'ajax', 'categories/categoriesfor.php'),{'id':Contacts.UI.Card.id},function(jsondata){
|
||||
if(jsondata.status == 'success'){
|
||||
|
|
|
|||
Loading…
Reference in a new issue