diff --git a/view/anyView.js b/view/anyView.js index b9ee919..ef3b3c5 100644 --- a/view/anyView.js +++ b/view/anyView.js @@ -4839,6 +4839,11 @@ $.any.anyView.prototype.dbUpdateLinkList = function (opt) opt.context = this.model; if (!opt.id) opt.id = this.model.link_id; // TODO! Is this always correct? + if (!opt.type) + if (this.model.type) + opt.type = this.model.type; + else + opt.type = opt.link_type; if (!this.model.dbUpdateLinkList(opt)) return false; return true;