Mercurial > public > sg101
view static/js/tiny_mce/plugins/template/langs/en_dlg.js @ 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
tinyMCE.addI18n('en.template_dlg',{ title:"Templates", label:"Template", desc_label:"Description", desc:"Insert predefined template content", select:"Select a template", preview:"Preview", warning:"Warning: Updating a template with a different one may cause data loss.", mdate_format:"%Y-%m-%d %H:%M:%S", cdate_format:"%Y-%m-%d %H:%M:%S", months_long:"January,February,March,April,May,June,July,August,September,October,November,December", months_short:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec", day_long:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday", day_short:"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun" });