HOR-2296
This commit is contained in:
@@ -268,17 +268,27 @@ var saveTaskData = function(oForm, iForm, iType)
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
var option = {
|
var option;
|
||||||
label: changesSavedLabel
|
|
||||||
}
|
|
||||||
|
|
||||||
switch (res.status) {
|
switch (res.status) {
|
||||||
|
case "OK":
|
||||||
|
option = {
|
||||||
|
label: changesSavedLabel
|
||||||
|
};
|
||||||
|
break;
|
||||||
case "CRONCL":
|
case "CRONCL":
|
||||||
option = {
|
option = {
|
||||||
label: changesSavedLabel + "<br /><br />" + _("APP_TITLE_CASE_LABEL_UPDATE"),
|
label: changesSavedLabel + "<br /><br />" + _("APP_TITLE_CASE_LABEL_UPDATE"),
|
||||||
width: 350,
|
width: 350,
|
||||||
height: 175
|
height: 175
|
||||||
}
|
};
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
option = {
|
||||||
|
label: res.toString(),
|
||||||
|
width: 350,
|
||||||
|
height: 120
|
||||||
|
};
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ try {
|
|||||||
} catch (Exception $oException) {
|
} catch (Exception $oException) {
|
||||||
$token = strtotime("now");
|
$token = strtotime("now");
|
||||||
PMException::registerErrorLog($oException, $token);
|
PMException::registerErrorLog($oException, $token);
|
||||||
G::outRes( G::LoadTranslation("ID_EXCEPTION_LOG_INTERFAZ", array($token)) );
|
G::outRes($oException->getMessage());
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user