mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-19 08:52:22 +01:00
Remember categories when they have changed.
This commit is contained in:
parent
d1dc4f23c6
commit
9e294f9ae1
@ -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…
x
Reference in New Issue
Block a user