This commit is contained in:
Julio Cesar Laura Avendaño
2016-11-25 10:09:35 -05:00
parent de2354dcf5
commit edf0eed28d
2 changed files with 15 additions and 5 deletions

View File

@@ -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;
} }

View File

@@ -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;
} }