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

pull/3/head
Surinder Kumar 2016-01-04 12:19:00 +05:30 committed by Ashesh Vashi
parent 49373df02d
commit f451bd0a83
1 changed files with 2 additions and 1 deletions

View File

@ -81,8 +81,9 @@ 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);
}
self.field.set('options', data);
}
}
});