Monotone-Parent: 5ca4f59d87c4968d9506582dbf635a39d0ac2f55

Monotone-Revision: cf8164b6f952e813c169ac20422479f98450cc37

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-02-19T17:07:18
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-02-19 17:07:18 +00:00
parent 586e5f5642
commit e73b7889f5

View File

@@ -308,7 +308,13 @@ function modifyEventCallback(http) {
}
else if (http.status == 403) {
var data = http.responseText;
var msg = data.replace(/^(.*\n)*.*<p>((.*\n)*.*)<\/p>(.*\n)*.*$/, "$2");
var msg;
if (data.indexOf("An error occurred during object publishing") >
-1) {
msg = data.replace(/^(.*\n)*.*<p>((.*\n)*.*)<\/p>(.*\n)*.*$/, "$2");
} else {
msg = "delegate is a participant";
}
window.alert(getLabel(msg));
}
else {