Mercurial > public > sg101
view static/js/tiny_mce/plugins/preview/preview.html @ 504:b5bd3509e6e6
Made some tweaks to the ajax login javascript.
Cleared the inputs on failure so someone won't repeatedly try a bad login.
Redirect on lockout so the page will refresh.
Set focus on the username box after failure for convenience.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 03 Dec 2011 16:25:15 +0000 |
parents | 88b2b9cb8c1f |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script type="text/javascript" src="jscripts/embed.js"></script> <script type="text/javascript"><!-- document.write('<base href="' + tinyMCEPopup.getWindowArg("base") + '">'); // --> </script> <title>{#preview.preview_desc}</title> </head> <body id="content"> <script type="text/javascript"> document.write(tinyMCEPopup.editor.getContent()); </script> </body> </html>