Hi,

as ticket #1485135 [1] suggests, javascript's native prompt() should be replaced
with a custom one.
I did a bit of research and I found Impromptu [2] seemed to do this job quite
well.

after some fiddling with the code I managed to get a nice-looking (at least
I think so -> but that doesn't count as I fail at any design/graphics tasks)
prompt dialog. A screenshot of it can be seen under [3]

my only problem is: to get this working, I had to refactor some code in
app.js (not much, but still enough that it could break something :))
Because of this I'm asking for someone who could review my code
and suggest what could've been done better. A patch against svn
trunk is provided under [4]

PS: I also think that the milestone for the ticket should be set to
0.4-beta, as it requires a bit more work than just replacing one
line in app.js

Regards,
Martin

[1] http://trac.roundcube.net/ticket/1485135
[2] http://trentrichardson.com/Impromptu/index.php
[3] http://img5.abload.de/img/rcppuje3.png
[4] http://pastebin.ca/1467910
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to