PM 682 "El boton Save no ejecuta ninguna..." SOLVED
This commit is contained in:
@@ -36,25 +36,23 @@ var eventsEditAction = function(sUID) {
|
||||
|
||||
var eventsSave = function(oForm) {
|
||||
if (getField("EVN_DESCRIPTION").value.trim() == "") {
|
||||
msgBox("Set a description please.", "alert");
|
||||
new leimnud.module.app.alert().make({label: _("ID_PLEASE_ENTER_DESCRIPTION")});
|
||||
return false;
|
||||
}
|
||||
|
||||
if (getField("EVN_TAS_ESTIMATED_DURATION").value.trim() == "") {
|
||||
msgBox("Set a estimated task duration please.", "alert");
|
||||
new leimnud.module.app.alert().make({label: _("ID_PLEASE_CONFIGURE_ESTIMATED_DURATION_TASK")});
|
||||
return false;
|
||||
}
|
||||
|
||||
if (getField("EVN_WHEN").value.trim() == ""){
|
||||
msgBox("Set a days please.", "alert");
|
||||
new leimnud.module.app.alert().make({label: _("ID_PLEASE_SET_VALUE_DAYS_EXECUTION_TIME_FIELD")});
|
||||
return false;
|
||||
}
|
||||
|
||||
if (oForm.onsubmit()) {
|
||||
res = ajax_post(oForm.action, oForm, 'POST');
|
||||
currentPopupWindow.remove();
|
||||
@#PAGED_TABLE_ID.refresh();
|
||||
}
|
||||
res = ajax_post(oForm.action, oForm, 'POST');
|
||||
currentPopupWindow.remove();
|
||||
@#PAGED_TABLE_ID.refresh();
|
||||
};
|
||||
|
||||
var eventsTriggerSave = function(oForm) {
|
||||
|
||||
Reference in New Issue
Block a user