do not add an extra submit button in text browsers
authorLunar <lunar@anargeek.net>
Tue, 14 Feb 2012 21:57:35 +0000 (22:57 +0100)
committerLunar <lunar@anargeek.net>
Fri, 24 Feb 2012 18:43:01 +0000 (19:43 +0100)
commit6aa06f76b99222d448658a9b18afa5cf22851ded
tree2dfcd69695a457f8790ae651eeddb7c6c1ea5e61
parent1834ba38e2c01f3f5b25e990ced131e111ad51cd
do not add an extra submit button in text browsers

Using style="display: none" for Javascript specific DOM elements leads to extra
widgets or text showing up in pure text browser. So let's use Javascript to
populate interface elements that only appear when Javascript is enabled.
public/javascripts/coquelicot.auth.imap.js
public/javascripts/coquelicot.js
views/auth/imap.haml