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 {
var option = {
label: changesSavedLabel
}
var option;
switch (res.status) {
case "OK":
option = {
label: changesSavedLabel
};
break;
case "CRONCL":
option = {
label: changesSavedLabel + "<br /><br />" + _("APP_TITLE_CASE_LABEL_UPDATE"),
width: 350,
height: 175
}
};
break;
default:
option = {
label: res.toString(),
width: 350,
height: 120
};
break;
}

View File

@@ -138,7 +138,7 @@ try {
} catch (Exception $oException) {
$token = strtotime("now");
PMException::registerErrorLog($oException, $token);
G::outRes( G::LoadTranslation("ID_EXCEPTION_LOG_INTERFAZ", array($token)) );
G::outRes($oException->getMessage());
die;
}