Re: [tw] A substitute for the javascript Confirm and Alert boxes?

2016-04-27 Thread Jeremy Ruston
Thanks Devin, I was going to reply to make the same point. In practice, I think all of the alert()'s in the core could actually be replaced; I don't think any of them rely on the synchronous behaviour. It's the confirm()s and prompt()s that are the difficulty; they are used freely in

[tw] A substitute for the javascript Confirm and Alert boxes?

2016-04-26 Thread Devin Weaver
I have looked into this. The problem is that any type of user themed confirmation prompt is asynchronous. But the browser built in version actually blocks code execution. In the places that TiddlyWiki needs a confirmation it depends on that code blocking. In other words the need to use the

[tw] A substitute for the javascript Confirm and Alert boxes?

2016-04-26 Thread 'Stephen Kimmel' via TiddlyWiki
Has someone come up a substitute for the javascript confirm and alert boxes that can be styled? My understanding is that the functions built into the browser's javascript can not be styled at all and I find them too bright for the color palettes I'm using. What I like is something where I could