mirror of
https://github.com/unraid/webgui.git
synced 2026-01-01 23:20:35 -06:00
Parity check: use json format
This commit is contained in:
@@ -343,9 +343,9 @@ devices.on('message', function(msg,meta) {
|
||||
$('#line4').html("_(completed)_");
|
||||
} else {
|
||||
var form = document.arrayOps;
|
||||
if ($('#pauseButton').val()=="_(Pause)_" && msg.search("_(paused)_")!=-1) {
|
||||
if ($('#pauseButton').val()=="_(Pause)_" && get[1].search("_(paused)_")!=-1) {
|
||||
$('#pauseButton').val("_(Resume)_").prop('onclick',null).off('click').click(function(){resumeParity(form);});
|
||||
} else if ($('#pauseButton').val()=="_(Resume)_" && msg.search("_(paused)_")==-1) {
|
||||
} else if ($('#pauseButton').val()=="_(Resume)_" && get[1].search("_(paused)_")==-1) {
|
||||
$('#pauseButton').val("_(Pause)_").prop('onclick',null).off('click').click(function(){pauseParity(form);});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user