OM-506: [Mobile-Pmdynaform] campos deshabilitados se habilitan al hacer submit o next step
This commit is contained in:
@@ -110,13 +110,7 @@ $(window).load(function () {
|
|||||||
dyn_forward.onclick = function () {
|
dyn_forward.onclick = function () {
|
||||||
if (window.dynaform.getForms()[0].isValid()) {
|
if (window.dynaform.getForms()[0].isValid()) {
|
||||||
window.dynaform.getForms()[0].applySuccess();
|
window.dynaform.getForms()[0].applySuccess();
|
||||||
//Destroy modal previous
|
window.dynaform.getForms()[0].prepareFormToPost();
|
||||||
if($('#modalProgressBar').length > 0){
|
|
||||||
$('#modalProgressBar').remove();
|
|
||||||
}
|
|
||||||
//Show Modal for nex step
|
|
||||||
var viewModalSubmit = new PMDynaform.view.ModalProgressBar();
|
|
||||||
viewModalSubmit.render();
|
|
||||||
form.submit();
|
form.submit();
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user