Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
1d64bc68
Commit
1d64bc68
authored
May 17, 2017
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix picker problem reported by Jason Boles; clicking on the project
instead of the profile name would cause a JS error.
parent
fd4a01d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
www/aptui/js/instantiate-new.js
www/aptui/js/instantiate-new.js
+4
-0
No files found.
www/aptui/js/instantiate-new.js
View file @
1d64bc68
...
@@ -223,6 +223,10 @@ $(function ()
...
@@ -223,6 +223,10 @@ $(function ()
});
});
$
(
'
li.profile-item
'
).
click
(
function
(
event
)
{
$
(
'
li.profile-item
'
).
click
(
function
(
event
)
{
event
.
preventDefault
();
event
.
preventDefault
();
// Ignore clicks over the project. Probably a better way to do this.
if
(
!
$
(
event
.
target
).
is
(
"
li
"
))
{
return
;
}
PickerEvent
(
"
switch
"
,
$
(
event
.
target
),
PickerEvent
(
"
switch
"
,
$
(
event
.
target
),
$
(
'
#profile_name
'
).
scrollTop
());
$
(
'
#profile_name
'
).
scrollTop
());
ShowProfileSelection
(
event
.
target
);
ShowProfileSelection
(
event
.
target
);
...
...
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