Version 7 Beta 18, Node.js, Mac OS
See video where the Bootbox confirm opens up twice and needs to be interacted with twice to remove both that opened.
Version 7 Beta 18, Node.js, Mac OS
See video where the Bootbox confirm opens up twice and needs to be interacted with twice to remove both that opened.
Without any code provided we can’t really do anything. We have no idea how do you call the confirm dialog there.
Sorry, here is screenshot and some code:
<div is="dmx-browser" id="browser1" dmx-on:pushstate="run({condition:{outputType:'boolean',if:`var1.value==1&&(browser1.location.pathparts[0]==\'cashflow\' || browser1.location.pathparts[1]==\'cashflow\')`,then:{steps:{'bootbox.confirm':{name:'confirm',message:'confirm',buttons:{confirm:{label:'confirm'},cancel:{label:'cancel'}},title:'confirm',then:{steps:{run:{outputType:'text',action:`flowResetQuickplanSimulation.run()`}}}}}}}})"></div>
What is the code used for these tabs? Is this a nodejs page? Is it an internal link?
yes, internal links on node.js content page. The tabs are in a partial on the content page
Created a basic test project with just a button and internal link to another page and same happens with this code:
<div is="dmx-browser" id="browser1" dmx-on:pushstate="run({'bootbox.confirm':{name:'confirm',message:'confirm',title:'confirm',buttons:{confirm:{label:'confirm'},cancel:{label:'confirm'}},then:{steps:{run:{outputType:'text',action:`browser1.goto(\'http://google.com\')`}}}}})"></div>
Here's video:
I see, on internal navigation the pushstate event is called twice. @patrick will check this.