(function($){$.jce.Installer={init:function(options){$('#tabs').tabs();$('button#install_button').button({icons:{primary:'icon-install'}});$('button.install_uninstall').button({icons:{primary:'icon-remove'}}).click(function(e){if($('div#tabs input:checkbox:checked').length){$(this).addClass('ui-state-loading');$('input[name="task"]').val('remove');$('form[name="adminForm"]').submit()}e.preventDefault()})}}})(jQuery);