Security Group page - localize error message of authorizeSecurityGroupIngress

This commit is contained in:
Jessica Wang 2011-02-02 16:50:41 -08:00
parent a2c7051c42
commit 7b1ed3917f

View File

@ -309,7 +309,9 @@ function initAddIngressRuleDialog() {
}
}
} else if (result.jobstatus == 2) { // Failed
handleErrorInDialog2(result.jobresult.errortext, $thisDialog);
//var errorMsg = fromdb(result.jobresult.errortext);
var errorMsg = g_dictionary["label.failed"] + " - " + g_dictionary["label.error.code"] + " " + fromdb(result.jobresult.errorcode);
handleErrorInDialog2(errorMsg, $thisDialog);
}
}
},