1
0
Fork 0

Merge branch 'devel' of github.com:arangodb/arangodb into devel

This commit is contained in:
Michael Hackstein 2017-04-25 10:10:54 +02:00
commit 433420ae2c
3 changed files with 19 additions and 6 deletions

View File

@ -3,6 +3,10 @@ devel
* fixed issue #2450
* fixed issue #2448
* fixed issue #2442
* added 'x-content-type-options: nosniff' to avoid MSIE bug
* set default value for `--ssl.protocol` from TLSv1 to TLSv1.2.

View File

@ -608,13 +608,14 @@
this.waitForInit(this.documents.bind(this), colid, pageid);
return;
}
if (!this.documentsView) {
this.documentsView = new window.DocumentsView({
collection: new window.ArangoDocuments(),
documentStore: this.arangoDocumentStore,
collectionsStore: this.arangoCollectionsStore
});
if (this.documentsView) {
this.documentsView.removeView();
}
this.documentsView = new window.DocumentsView({
collection: new window.ArangoDocuments(),
documentStore: this.arangoDocumentStore,
collectionsStore: this.arangoCollectionsStore
});
this.documentsView.setCollectionId(colid, pageid);
this.documentsView.render();
},

View File

@ -30,6 +30,14 @@
next: null
},
removeView: function () {
this.$el.empty().off(); /* off to unbind the events */
this.stopListening();
this.unbind();
delete this.el;
return this;
},
editButtons: ['#deleteSelected', '#moveSelected'],
initialize: function (options) {