M
Meryk
Guest
Hi Siraj, You are saying that if I detach the existing submit before re attaching a custom one, this should work without having to specify if the action is cancel .. ? Even when I was doing this : formEl.removeAttr('onsubmit'); formEl.submit(onSubmitHandler); The onSubmitHandler was running on both Save and Cancel. But now with what you suggested before (checking if action === 'cancel'), the submit is only running on Save. For the 4.0.4 change, is that mean that I need to change this code again ? Thanks, Meryem
Continue reading...
Continue reading...