1
0
Fork 0

ui fixed cached query restore

This commit is contained in:
hkernbach 2016-10-19 08:47:36 +02:00
parent 6ecd31224c
commit cd3a5b4e45
1 changed files with 5 additions and 1 deletions

View File

@ -604,7 +604,11 @@
var key; var key;
_.each($('#arangoBindParamTable input'), function (element) { _.each($('#arangoBindParamTable input'), function (element) {
key = $(element).attr('name'); key = $(element).attr('name');
$(element).val(self.bindParamTableObj[key]); if (typeof self.bindParamTableObj[key] === 'object') {
$(element).val(JSON.parse(self.bindParamTableObj[key]));
} else {
$(element).val(self.bindParamTableObj[key]);
}
}); });
// resave cached query // resave cached query