1b.app
Link copied -

It is necessary before the transition to the first stage of the BP that it was necessary to confirm the transition to the second stage

Trying to write $j (function ( ) {
$j ('.js-procedure-165').on ('click',function ( ) {
return confirm(' Hello?' ) ;
});
});
</script>
de('.js-procedure-165') id step ale did not help
Original question is available on version: ru macik9157@gmail.com

Answers:

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
This is a condition for the procedure.
Here is the condition for going to the stage
<script>
$j(function(){
$j('.js-change-order-status[data-id="140"]').on('click', function () {
return confirm('test message?');
});
});
</script>
Where [data-id="140"], namely 140 is the status id
23.09.2020, 10:08
Original comment available on version: ru

Максим
Тзов Екомора
Trying not to go
Will I write a script in the interface correctly?
23.09.2020, 12:13
macik9157@gmail.com Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
So http://i.imgur.com/IqSenvg.png
Either the status number is incorrectly specified, or the script is incorrectly added, that is, at the wrong stage. It is better to save for all stages, try it, it will work.
23.09.2020, 15:17
Original comment available on version: ru

Максим
Тзов Екомора
having tried it for a while, is it possible through those already one script of prescriptions?
23.09.2020, 18:55
macik9157@gmail.com Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
The check should be placed not at the stage at which the transition is performed, but at the stage from which the transition is performed.
That is, if you need to move from the "Edited by prepayment" stage to the "Paid / Closed" stage, then the script must be written at the "Edited by prepayment" stage
24.09.2020, 09:47
Original comment available on version: ru


Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment