//small fix

This commit is contained in:
vAugagneur
2013-03-22 17:45:07 +01:00
parent 571f566af0
commit cdc012c2c6
@@ -30,8 +30,7 @@
$('.action_tab_module').each( function (){
$(this).click(function () {
option = $('#'+$(this).data('option')+' :selected');
if (typeof($(option).data('onclick')) != 'undefined' || $(option).data('onclick') != '')
if ($(option).data('onclick') != '')
{
var f = eval("(function(){ "+$(option).data('onclick')+"})");
if (f.call())