1
0
Fork 0

Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel

This commit is contained in:
Jan Steemann 2013-07-17 23:18:43 +02:00
commit cca137d988
1 changed files with 4 additions and 2 deletions

View File

@ -187,8 +187,10 @@ var queryView = Backbone.View.extend({
var quit = false; var quit = false;
$.each(this.customQueries, function(k,v) { $.each(this.customQueries, function(k,v) {
if (e.target.id !== 'save-edit-query') { if (e.target.id !== 'save-edit-query') {
quit = true; if (v.name === queryName) {
return; quit = true;
return;
}
} }
if (v.name !== queryName) { if (v.name !== queryName) {
tempArray.push({ tempArray.push({