mirror of https://gitee.com/bigwinds/arangodb
Only one applicationDetailView
This commit is contained in:
parent
cb5374e293
commit
303e4e6d94
|
@ -112,10 +112,14 @@
|
|||
if (this.foxxList.length === 0) {
|
||||
this.foxxList.fetch({ async: false });
|
||||
}
|
||||
var applicationDetailView = new window.ApplicationDetailView({
|
||||
model: this.foxxList.get(key)
|
||||
});
|
||||
applicationDetailView.render();
|
||||
if (!this.hasOwnProperty('applicationDetailView')) {
|
||||
this.applicationDetailView = new window.ApplicationDetailView({
|
||||
model: this.foxxList.get(key)
|
||||
});
|
||||
}
|
||||
|
||||
this.applicationDetailView.model = this.foxxList.get(key);
|
||||
this.applicationDetailView.render();
|
||||
},
|
||||
|
||||
login: function () {
|
||||
|
|
Loading…
Reference in New Issue