ARE: added mod_id to the multi_module API call. The bug was preventing correct module calling.
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user