[+] INSTALLER : added modules install from addons

This commit is contained in:
vAugagneur
2013-03-20 11:04:48 +01:00
parent 77002bb3f5
commit b95b5861ef
6 changed files with 117 additions and 88 deletions
@@ -30,7 +30,8 @@
$('.action_tab_module').each( function (){
$(this).click(function () {
option = $('#'+$(this).data('option')+' :selected');
if ($(option).data('onclick') != '')
if (typeof($(option).data('onclick')) != 'undefined' || $(option).data('onclick') != '')
{
var f = eval("(function(){ "+$(option).data('onclick')+"})");
if (f.call())