Test Provisioning Tool - related UI change after API refactor (after "true"=>true, "false"=>false, "3"=>3)

This commit is contained in:
Jessica Wang 2010-11-16 13:49:30 -08:00
parent e5e128545d
commit a03a58d379

View File

@ -671,9 +671,13 @@ $(document).ready(function() {
} }
responseText += ('<br>' + includingIndent('} ', -1)); responseText += ('<br>' + includingIndent('} ', -1));
responseIndent--; responseIndent--;
} else if (typeof obj == 'string') { }
else if (typeof obj == 'string') {
responseText += ('"'+ obj + '"'); responseText += ('"'+ obj + '"');
} }
else if (typeof obj == 'number' || typeof obj == "boolean") {
responseText += (obj.toString());
}
} }
function outputAPITestResult(res, responseType, isAppend) { function outputAPITestResult(res, responseType, isAppend) {