mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 10:55:25 +00:00
(js) Fix links to members after editing list
This commit is contained in:
@@ -209,7 +209,12 @@
|
||||
var _this = this,
|
||||
action = 'saveAsContact';
|
||||
|
||||
if (this.c_component == 'vlist') action = 'saveAsList';
|
||||
if (this.c_component == 'vlist') {
|
||||
action = 'saveAsList';
|
||||
_.forEach(this.refs, function(ref) {
|
||||
ref.reference = ref.id;
|
||||
});
|
||||
}
|
||||
|
||||
return Card.$$resource.save([this.pid, this.id || '_new_'].join('/'),
|
||||
this.$omit(),
|
||||
|
||||
Reference in New Issue
Block a user