[SSE] Fix updating external references

This commit is contained in:
Julia Radzhabova 2022-11-15 12:16:54 +03:00
parent 618868cfee
commit 3dc1f11775

View file

@ -294,16 +294,12 @@ define([
me.btnUpdate.setCaption(status ? me.textUpdating : me.textUpdate);
},500);
}
!status && this.refreshList();
},
setLinkStatus: function(id, result) {
if (!id) return;
var rec = this.linksList.store.findWhere({linkid: id});
if (rec) {
rec.set('status', result || this.textOk);
this.linkStatus[id] = result || this.textOk;
} else
delete this.linkStatus[id];
this.linkStatus[id] = result || this.textOk;
},
txtTitle: 'External Links',