incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlsoren...@apache.org
Subject [9/50] git commit: CLOUDSTACK-971:Error Dialog is empty
Date Wed, 16 Jan 2013 20:59:58 GMT
CLOUDSTACK-971:Error Dialog is empty


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/c06218d3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/c06218d3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/c06218d3

Branch: refs/heads/resizevolume
Commit: c06218d32f3e4b20ec86303639af847cb911ec39
Parents: 127867c
Author: Pranav Saxena <pranav.saxena@citrix.com>
Authored: Mon Jan 14 16:49:42 2013 +0530
Committer: Pranav Saxena <pranav.saxena@citrix.com>
Committed: Mon Jan 14 16:49:42 2013 +0530

----------------------------------------------------------------------
 ui/scripts/sharedFunctions.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/c06218d3/ui/scripts/sharedFunctions.js
----------------------------------------------------------------------
diff --git a/ui/scripts/sharedFunctions.js b/ui/scripts/sharedFunctions.js
index eb78ad1..51c4fdb 100644
--- a/ui/scripts/sharedFunctions.js
+++ b/ui/scripts/sharedFunctions.js
@@ -208,12 +208,13 @@ function parseXMLHttpResponse(XMLHttpResponse) {
   var json = JSON.parse(XMLHttpResponse.responseText);
   if (json != null) {
     var property;
-    for(property in json) {}
+    for(property in json) {
     var errorObj = json[property];		
 		if(errorObj.errorcode == 401 && errorObj.errortext == "unable to verify user credentials
and/or request signature")
 		  return _l('label.session.expired');
 		else
       return _s(errorObj.errortext);
+     }
   } 
 	else {
     return "";


Mime
View raw message