PM-2938: I deleted the validacion in Ok windows

This commit is contained in:
Paula V. Quispe
2015-06-12 15:32:55 -04:00
parent 1aec306dbe
commit 52bf21289d

View File

@@ -1328,18 +1328,16 @@ function ajaxDerivationRequest(appUid, delIndex, maxLenght, appNumber){
buttons: Ext.MessageBox.OK, buttons: Ext.MessageBox.OK,
fn: function (btn, text, opt) { fn: function (btn, text, opt) {
if (btn == "ok") { //if (btn == "ok") {}
if (maxLenght == storeConsolidated.getCount()) { if (maxLenght == storeConsolidated.getCount()) {
window.location.reload(); window.location.reload();
} }
if (fullResponseText.charAt(0) != "<") {
parent.document.getElementById("batchRoutingCasesNumRec").innerHTML = parseInt(dataResponse.casesNumRec); if (fullResponseText.charAt(0) != "<") {
} parent.document.getElementById("batchRoutingCasesNumRec").innerHTML = parseInt(dataResponse.casesNumRec);
storeConsolidated.reload(); }
}else{
//Click in X storeConsolidated.reload();
}
} }
}); });
} }