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) {
|
if (this.foxxList.length === 0) {
|
||||||
this.foxxList.fetch({ async: false });
|
this.foxxList.fetch({ async: false });
|
||||||
}
|
}
|
||||||
var applicationDetailView = new window.ApplicationDetailView({
|
if (!this.hasOwnProperty('applicationDetailView')) {
|
||||||
|
this.applicationDetailView = new window.ApplicationDetailView({
|
||||||
model: this.foxxList.get(key)
|
model: this.foxxList.get(key)
|
||||||
});
|
});
|
||||||
applicationDetailView.render();
|
}
|
||||||
|
|
||||||
|
this.applicationDetailView.model = this.foxxList.get(key);
|
||||||
|
this.applicationDetailView.render();
|
||||||
},
|
},
|
||||||
|
|
||||||
login: function () {
|
login: function () {
|
||||||
|
|
Loading…
Reference in New Issue