1b.app
Link copied -

Pop Up Action Confirmation Window

Good afternoon!
Is there an action so that when you click on the procedure button, a pop-up window with a confirmation request is displayed. As, for example, when sending ate. mail from process?
Original question is available on version: ru

Answers:

Максим
Тзов Екомора
01.04.2021, 08:00
macik9157@gmail.com Original comment available on version: ru

Good morning
Insert the block into the process interface
to switch stage :
<script>
$j(function(){
$j('.js-change-order-status[data-id="908"]').on('click', function () {
return confirm('Are you sure you want to change the step?');
});
});
</script>
to click on a procedure:
<script>
$j(function(){
$j('.js-procedure-70').on('click', function () {
return confirm(' Are you sure you want to make changes to the customer's order?');
});
});
</script>
01.04.2021, 10:37
Original comment available on version: ru

By default, there is no such functionality in the system. Use one of the options above.
01.04.2021, 14:51
Original comment available on version: ru


Chirkov Maxim
Tzov Ekomora wrote:
Insert a block into the process interface

Good afternoon!
Not quite sure where to put the code.
Please be more specific...
02.04.2021, 16:25
Original comment available on version: ru

Максим
Тзов Екомора
in this block write [data-id="908"]') id of the stage de can see the popup . I registered at the stage before switching to the required stage. Try to enter
02.04.2021, 16:42
macik9157@gmail.com Original comment available on version: ru

You can put it at the stage before the one at which the check is made or if you have the same interface - save for all stages
02.04.2021, 17:56
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