// Cleaned modules call
This commit is contained in:
@@ -66,10 +66,6 @@
|
||||
if (anchor != '')
|
||||
$.scrollTo('#'+anchor, 1200, {offset: -100});
|
||||
|
||||
// If a list of modules is set, install request has been called
|
||||
if (installed_modules !== false)
|
||||
wsModuleCall(installed_modules);
|
||||
|
||||
// AutoComplete Search
|
||||
$('input[name="filtername"]').autocomplete(moduleList, {
|
||||
minChars: 0,
|
||||
@@ -340,28 +336,5 @@
|
||||
});
|
||||
});
|
||||
|
||||
function wsModuleCall(modules_list)
|
||||
{
|
||||
$.ajax({
|
||||
type : 'POST',
|
||||
url : ajaxCurrentIndex,
|
||||
data : {
|
||||
'modules_list' : modules_list,
|
||||
'controller' : 'AdminModules',
|
||||
'action' : 'wsModuleCall',
|
||||
'token' : token
|
||||
},
|
||||
dataType: 'json',
|
||||
success: function(json)
|
||||
{
|
||||
//console.log(json);
|
||||
},
|
||||
error: function(xhr, ajaxOptions, thrownError)
|
||||
{
|
||||
//jAlert("TECHNICAL ERROR"+xhr);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
{/literal}
|
||||
</script>
|
||||
Reference in New Issue
Block a user