225
225
* @param query (optional) The structured query variables to use.
227
227
module.load_model = function(entry, view_name, config, query){
229
228
var url = module.get_view_url(entry, view_name, 'model', query);
230
229
var old_on_success = config.on.success;
232
231
on.success = module.wrap_resource_on_success;
236
'arguments': [lp_client, url, old_on_success, false]
234
'arguments': [entry.lp_client, url, old_on_success, false]
238
236
var io_provider = module.get_configured_io_provider(config);
239
237
io_provider.io(url, y_config);