mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 21:53:19 +00:00
@@ -21,6 +21,7 @@
|
||||
vm.categories = {};
|
||||
vm.userFilterResults = [];
|
||||
vm.transformCategory = transformCategory;
|
||||
vm.removeAttribute = removeAttribute;
|
||||
vm.addOrg = addOrg;
|
||||
vm.addBirthday = addBirthday;
|
||||
vm.addScreenName = addScreenName;
|
||||
@@ -71,6 +72,10 @@
|
||||
else
|
||||
return input;
|
||||
}
|
||||
function removeAttribute(form, attribute, index) {
|
||||
vm.card.$delete(attribute, index);
|
||||
form.$setDirty();
|
||||
}
|
||||
function addOrg() {
|
||||
var i = vm.card.$addOrg({ value: '' });
|
||||
focus('org_' + i);
|
||||
|
||||
Reference in New Issue
Block a user