ARE: added mod_id to the multi_module API call. The bug was preventing correct module calling.

This commit is contained in:
antisnatchor
2013-01-02 18:30:06 +01:00
parent 98da93fb12
commit 8947d78d66

View File

@@ -147,6 +147,8 @@ function get_module_details(id,token){
mod = data;
}
});
//add module id which is not returned by the RESTful API
mod['id'] = id;
return mod;
}
@@ -155,6 +157,7 @@ function process_module_opts(mod){
'mod_id': mod['id'],
'mod_input':[]
};
console.log("mod_id: " + mod['id']);
var opts = mod['options'];
var label='ui_label';
var type = 'type';