// Cleaned modules call

This commit is contained in:
Damien Metzger
2012-12-13 13:35:17 +01:00
parent 60d2aee83b
commit ee19d3d62b
3 changed files with 20 additions and 87 deletions
@@ -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>