mirror of
https://github.com/unraid/webgui.git
synced 2026-04-22 10:08:25 -05:00
Docker: start/stop "docker_load" depending on view
This commit is contained in:
@@ -87,8 +87,10 @@ function resetSorting() {
|
||||
function listview() {
|
||||
var more = $.cookie('docker_listview_mode')=='advanced';
|
||||
if (more) {
|
||||
$.post('/plugins/dynamix.docker.manager/include/UpdateConfig.php',{action:'docker_load_start'});
|
||||
$('.docker_readmore').readmore('destroy');
|
||||
} else {
|
||||
$.post('/plugins/dynamix.docker.manager/include/UpdateConfig.php',{action:'docker_load_stop'});
|
||||
$('.docker_readmore').readmore({maxHeight:32,moreLink:"<a href='#' style='text-align:center'><i class='fa fa-chevron-down'></i></a>",lessLink:"<a href='#' style='text-align:center'><i class='fa fa-chevron-up'></i></a>"});
|
||||
}
|
||||
$('input.autostart').each(function(){
|
||||
|
||||
Reference in New Issue
Block a user