This commit is contained in:
yuri
2016-03-31 11:24:56 +03:00
parent de9c1e7a20
commit 90e2d7ef0b
-8
View File
@@ -940,14 +940,6 @@ Espo.define('views/record/list', 'view', function (Dep) {
this.clearView('modal');
}, this);
/*this.listenToOnce(view, 'after:save', function (m) {
var model = this.collection.get(m.id);
if (model) {
model.set(m.getClonedAttributes());
this.actionQuickView({id: m.id, scope: model.name});
}
}, this);*/
this.listenToOnce(view, 'after:edit-cancel', function () {
this.actionQuickView({id: view.model.id, scope: view.model.name});
}, this);