Resolved an issue in the sesion tracking, and generating the data

properly.

Also, takes care of setting options to empty array, when it couldn't
fetch the options for the NodeAjaxOptionsControl.

And, generating proper url for 'msql' url in the SQL tab, when creating
new node from the same type of node.
This commit is contained in:
Ashesh Vashi
2016-01-06 19:20:49 +05:30
parent 456f5bc5b7
commit 753793820b
3 changed files with 85 additions and 27 deletions

View File

@@ -73,7 +73,9 @@ function($, _, pgAdmin, Backbone, Backform, Alertify, Node) {
}
// To fetch only options from cache, we do not need time from 'at'
// attribute but only options.
data = data.data;
//
// It is feasible that the data may not have been fetched.
data = (data && data.data) || [];
/*
* Transform the data