Message before changing the entry state

Message before changing the entry state

by Paul K -
Number of replies: 2

Dear Itamar,

I have one additional question about entry state field. I need to add additional question before the entry state will change, something like:

"Do you really want to change the current state?" If yes will be clicked, then the state will change if No then the current state should be kept. Which file I need to edit to achieve this?

Average of ratings: -
In reply to Paul K

Re: Message before changing the entry state

by Paul K -
This can be achieved by editing the stater.js and adding the simple if else clause by submit_state: function (e).
In reply to Paul K

Re: Message before changing the entry state

by Itamar Tzadok -

Such a behavior if added needs to be configurable since some use cases may do without confirmation questions. smile