If I have a stamp and use the "Edit Stamp" option from the stamps palette, I cannot get the revised javascript to actually save to the stamp. While I have the stamp open for editing, it appears to stick, and it saves, but when I close it and try to use the stamp, or edit the stamp again, the javascript has not changed.
To reproduce:
- In the stamp palette, pick a stamp that already has a form with custom javascript assigned to it
- Press "Edit"
- Select the field with the custom javascript, and go to Value Calculation > Custom Action > Run a Javascript > …
- Edit the javascript i.e. add app.alert("yoohoo!") to the end.
- If you added the alert, it should pop up once you close the JavaScript dialog
- Save and close
- Place the stamp. I get no alert.
- Go back to edit the stamp, Value Calculation > > Custom Action > Run a Javascript > …
- The change we did above has not been saved.
Workaround is to use the old menthod (ie close PXCE, move stamp file out of Stamps folder, edit the stamp file, close PXCE, move back)