I added a custom validation function for field Discount.
The problem is that the confirmation alert inside the validation function seems to make validation trigger multiple times, so that user has to confirm again and again to make popup editor go away.
Jfiddle demo here: http://jsfiddle.net/uBfQ3/1/
To reproduce:
1. Edit discount field to more than 20 and hit update
2. Observe Confirm-popup triggering several times and popup editor is still present after hitting OK in all these windows
3. Hit update and observe yet another confirmation pops up
4. Hit OK and observe that popup editor finally goes away
The problem is that the confirmation alert inside the validation function seems to make validation trigger multiple times, so that user has to confirm again and again to make popup editor go away.
Jfiddle demo here: http://jsfiddle.net/uBfQ3/1/
To reproduce:
1. Edit discount field to more than 20 and hit update
2. Observe Confirm-popup triggering several times and popup editor is still present after hitting OK in all these windows
3. Hit update and observe yet another confirmation pops up
4. Hit OK and observe that popup editor finally goes away