Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
112
Issues
112
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
552233b2
Commit
552233b2
authored
Oct 17, 2019
by
Leigh Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A few more little fixes for bugs Mike found.
parent
67b2f154
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
www/aptui/js/resgroup.js
www/aptui/js/resgroup.js
+12
-0
No files found.
www/aptui/js/resgroup.js
View file @
552233b2
...
...
@@ -528,6 +528,8 @@ $(function ()
row
.
find
(
'
.delete-cluster
'
)
.
removeClass
(
"
hidden
"
)
.
click
(
function
(
event
)
{
// Kill tooltips since they get left behind if visible.
row
.
find
(
'
[data-toggle="tooltip"]
'
).
tooltip
(
'
destroy
'
);
row
.
remove
();
if
(
$
(
'
#cluster-table tbody
'
).
length
==
1
)
{
$
(
'
#cluster-table .delete-cluster
'
).
hide
();
...
...
@@ -539,6 +541,7 @@ $(function ()
$
(
'
#cluster-table .add-cluster
'
).
not
(
"
:last
"
).
hide
();
}
modified_callback
();
});
if
(
$
(
'
#cluster-table tbody
'
).
length
==
1
)
{
...
...
@@ -612,6 +615,8 @@ $(function ()
row
.
find
(
'
.delete-range
'
)
.
removeClass
(
"
hidden
"
)
.
click
(
function
(
event
)
{
// Kill tooltips since they get left behind if visible.
row
.
find
(
'
[data-toggle="tooltip"]
'
).
tooltip
(
'
destroy
'
);
row
.
remove
();
updateButtons
();
modified_callback
();
...
...
@@ -1263,6 +1268,11 @@ $(function ()
continue
;
}
}
else
{
// Last one, has enough nodes, just move past
// lower bound and be done.
starttime
=
lower
;
}
}
console
.
info
(
"
boop
"
,
data
);
...
...
@@ -1925,6 +1935,8 @@ $(function ()
if
(
!
_
.
has
(
reservations
,
uuid
))
{
console
.
info
(
"
reservation is gone:
"
+
uuid
);
// Kill tooltips since they get left behind if visible.
tbody
.
find
(
'
[data-toggle="tooltip"]
'
).
tooltip
(
'
destroy
'
);
tbody
.
remove
();
}
});
...
...
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