[editor] Fix js error in syntax checker for subquery references
if (token.parseLocation.tables && token.parseLocation.tables.length > 0) {
var tablePromisses = [];
token.parseLocation.tables.forEach(function (table) {
+ if (table.identifierChain) {
tablePromisses.push(self.fetchAutocompleteDeferred(table.identifierChain));
+ }
});
$.when.apply($, tablePromisses).always(function () {
var joined = [];
