Commit 4a4973a0 authored by Leigh B Stoller's avatar Leigh B Stoller

Okay, why does json encode or decode, treat 0 as a string

instead of an integer?
parent 030350c0
......@@ -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, " +
......
......@@ -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 " +
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment