mirror of
https://github.com/unraid/webgui.git
synced 2026-04-22 18:19:14 -05:00
Plugin manager code optimization
This commit is contained in:
@@ -67,12 +67,12 @@ function loadlist(id) {
|
||||
$('#previous').show();
|
||||
<?endif;?>
|
||||
});
|
||||
<?if (!$notify['unraidos']):?>
|
||||
$('.tabs').append("<span class='status vhshift'><input type='button' value='Check for Updates' onclick='openBox(\"/plugins/dynamix.plugin.manager/scripts/plugin&arg1=checkos\",\"Plugin Update Check\",490,430,true)'></span>");
|
||||
<?endif;?>
|
||||
}
|
||||
$(function() {
|
||||
loadlist();
|
||||
<?if (!$notify['unraidos']):?>
|
||||
$('.tabs').append("<span class='status vhshift'><input type='button' value='Check for Updates' onclick='openBox(\"/plugins/dynamix.plugin.manager/scripts/plugin&arg1=checkos\",\"Plugin Update Check\",490,430,true)'></span>");
|
||||
<?endif;?>
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user