|
|
@ -305,10 +305,21 @@ initializeWindows = function() { |
|
|
|
} |
|
|
|
} |
|
|
|
}).send(); |
|
|
|
}).send(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
updateMainData(); |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
['pauseAll', 'resumeAll', 'pause', 'resume', 'recheck'].each(function(item) { |
|
|
|
['pauseAll', 'resumeAll'].each(function(item) { |
|
|
|
|
|
|
|
addClickEvent(item, function(e) { |
|
|
|
|
|
|
|
new Event(e).stop(); |
|
|
|
|
|
|
|
new Request({ |
|
|
|
|
|
|
|
url: 'command/' + item |
|
|
|
|
|
|
|
}).send(); |
|
|
|
|
|
|
|
updateMainData(); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
['pause', 'resume', 'recheck'].each(function(item) { |
|
|
|
addClickEvent(item, function(e) { |
|
|
|
addClickEvent(item, function(e) { |
|
|
|
new Event(e).stop(); |
|
|
|
new Event(e).stop(); |
|
|
|
var h = myTable.selectedIds(); |
|
|
|
var h = myTable.selectedIds(); |
|
|
@ -325,13 +336,6 @@ initializeWindows = function() { |
|
|
|
updateMainData(); |
|
|
|
updateMainData(); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
addClickEvent(item + 'All', function(e) { |
|
|
|
|
|
|
|
new Event(e).stop(); |
|
|
|
|
|
|
|
new Request({ |
|
|
|
|
|
|
|
url: 'command/' + item + 'all' |
|
|
|
|
|
|
|
}).send(); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
['decreasePrio', 'increasePrio', 'topPrio', 'bottomPrio'].each(function(item) { |
|
|
|
['decreasePrio', 'increasePrio', 'topPrio', 'bottomPrio'].each(function(item) { |
|
|
@ -396,4 +400,4 @@ initializeWindows = function() { |
|
|
|
new Event(e).stop(); |
|
|
|
new Event(e).stop(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|