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
4a4973a0
Commit
4a4973a0
authored
Apr 07, 2015
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Okay, why does json encode or decode, treat 0 as a string
instead of an integer?
parent
030350c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
www/aptui/js/instantiate.js
www/aptui/js/instantiate.js
+1
-1
www/aptui/js/quickvm_sup.js
www/aptui/js/quickvm_sup.js
+1
-1
No files found.
www/aptui/js/instantiate.js
View file @
4a4973a0
...
...
@@ -84,7 +84,7 @@ function (_, Constraints, sup, ppstart, aboutaptString, aboutcloudString, waitwa
$
(
'
#quickvm_topomodal
'
).
modal
(
'
hide
'
);
});
$
(
'
#instantiate_submit
'
).
click
(
function
(
event
)
{
if
(
webonly
)
{
if
(
webonly
!=
0
)
{
event
.
preventDefault
();
sup
.
SpitOops
(
"
oops
"
,
"
You do not belong to any projects at your Portal,
"
+
...
...
www/aptui/js/quickvm_sup.js
View file @
4a4973a0
...
...
@@ -190,7 +190,7 @@ function VerifySpeaksfor(speaksfor, signature)
document
.
cookie
=
cookie2
;
document
.
cookie
=
cookie3
;
if
(
json
.
value
.
webonly
)
{
if
(
json
.
value
.
webonly
!=
0
)
{
alert
(
"
You do not belong to any projects at your Portal,
"
+
"
so you will have very limited capabilities. Please
"
+
"
join or create a project at your Portal, to enable
"
+
...
...
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