Because we're using prompt in only one place, maybe would be better to replace it by standard confirm dialog. I don't like to include many js files for one small effect.
In general, i don't like the look of alert/confirm and co. dialogs. They
just don't fit to the look of the site. As long as i see the prompt is
used for asking a Subject, if it is empty. Why not simply add an
Error-Message above the Subjects-Field with small red characters and set
the Subject to "(No Subject)". If the user try to send the same mail a
second time with an empty Subject the program should recognize this and
pass.
_______________________________________________
List info: http://lists.roundcube.net/dev/