Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
0c3e3ca3
Commit
0c3e3ca3
authored
Oct 11, 2011
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify TaskViewer refresh code
parent
6fb13d81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
TaskViewer.js
www/manager/window/TaskViewer.js
+2
-8
No files found.
www/manager/window/TaskViewer.js
View file @
0c3e3ca3
...
...
@@ -103,21 +103,15 @@ Ext.define('PVE.window.TaskViewer', {
border
:
false
});
var
lastStatus
=
'
unknown
'
;
me
.
mon
(
statstore
,
'
load
'
,
function
()
{
var
status
=
statgrid
.
getObjectValue
(
'
status
'
);
store
.
load
();
if
(
status
===
'
stopped
'
)
{
statstore
.
stopUpdate
();
}
if
(
status
===
'
running
'
||
lastStatus
===
'
running
'
)
{
store
.
load
();
}
lastStatus
=
status
;
stop_btn1
.
setDisabled
(
status
!==
'
running
'
);
stop_btn2
.
setDisabled
(
status
!==
'
running
'
);
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment