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
783d8152
Commit
783d8152
authored
Sep 04, 2014
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to code handling missing profile description.
parent
21110f58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
www/aptui/js/instantiate.js
www/aptui/js/instantiate.js
+2
-7
No files found.
www/aptui/js/instantiate.js
View file @
783d8152
...
...
@@ -112,13 +112,8 @@ function (_, sup, aboutaptString, aboutcloudString)
description
=
marked
(
$
(
this
).
text
());
});
});
if
(
!
description
)
{
if
(
json
.
value
.
description
!=
""
)
{
description
=
json
.
value
.
description
;
}
else
{
description
=
"
Hmm, no description for this profile
"
;
}
if
(
!
description
||
description
==
""
)
{
description
=
"
Hmm, no description for this profile
"
;
}
$
(
'
#showtopo_description
'
).
html
(
description
);
$
(
'
#selected_profile_description
'
).
html
(
description
);
...
...
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