Set options fetched from the server as it is only when transform function is not provided.

This commit is contained in:
Surinder Kumar
2016-01-04 12:19:00 +05:30
committed by Ashesh Vashi
parent 49373df02d
commit f451bd0a83

View File

@@ -81,10 +81,11 @@ function($, _, pgAdmin, Backbone, Backform, Alertify, Node) {
// It will allow us to generate different data based on the
// dependencies.
self.field.set('options', transform.bind(self, data));
}
} else {
self.field.set('options', data);
}
}
}
});
var NodeListByIdControl = Backform.NodeListByIdControl = NodeAjaxOptionsControl.extend({