diff --git a/plugins/dynamix.plugin.manager/Plugins.page b/plugins/dynamix.plugin.manager/Plugins.page index cac671b9a..adccdb1b0 100644 --- a/plugins/dynamix.plugin.manager/Plugins.page +++ b/plugins/dynamix.plugin.manager/Plugins.page @@ -56,32 +56,22 @@ function loadlist(id) { } else { list.html(data[0]); } - if (data[1]>0) { - $('#updateall').show(); - - $('#checkall').hide(); - - } else { - $('#updateall').hide(); - - $('#checkall').show(); - - } resize(); $(window).bind('resize',function(){resize(true);}); $('#plugin_table').tablesorter({sortList:[[4,0],[1,0]],sortAppend:[[1,0]],headers:{0:{sorter:false},5:{sorter:false}},textAttribute:'data'}); $('.desc_readmore').readmore({maxHeight:66,moreLink:"",lessLink:""}); + if (data[1]>0) $('#updateall').show(); else $('#updateall').hide(); - $('#checkall').find('input').prop('disabled',false); + $('#checkall').find('input').prop('disabled',false).show(); }); } $(function() { loadlist(); $('#plugin_tree').fileTree({root:'/boot/',filter:'plg'}, function(file) {$('#plugin_file').val(file);}); - $('.tabs').append(""); + $('.tabs').append(""); $('.tabs').append("");