mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 22:38:51 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user