Is there any way to trigger the code behind enableModifiedFlag from CCSJ or SSJS?

前端 未结 2 1032
慢半拍i
慢半拍i 2020-12-10 19:22

If I set enableModifiedFlag property to true on my Custom Control; I see the following code at the bottom of generated Page source.

Everything works fine when user m

2条回答
  •  旧时难觅i
    2020-12-10 19:52

    On click of the button, use below CSJS: XSP._setDirty(false,"") That'll make the document as non dirty and let user navigate to other page.

提交回复
热议问题