[dw-free] entry preview window needs <title> attribute
[commit: http://hg.dwscoalition.org/dw-free/rev/08ca14543825]
http://bugs.dwscoalition.org/show_bug.cgi?id=3584
Add a window title for entry preview.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3584
Add a window title for entry preview.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/preview/entry.bml
- htdocs/preview/entry.bml.text
-------------------------------------------------------------------------------- diff -r 4590fe03b100 -r 08ca14543825 htdocs/preview/entry.bml --- a/htdocs/preview/entry.bml Fri Apr 01 14:20:51 2011 +0800 +++ b/htdocs/preview/entry.bml Fri Apr 01 15:13:37 2011 +0800 @@ -118,6 +118,7 @@ _c?> LJ::need_res( qw( stc/talkpage.css ) ); $ret .= "<?page\n"; + $ret .= "windowtitle=>" . BML::ml( ".title", { sitenameshort => $LJ::SITENAMESHORT } ) . "\n"; $ret .= "body<=\n"; $ret .= "<p>"; diff -r 4590fe03b100 -r 08ca14543825 htdocs/preview/entry.bml.text --- a/htdocs/preview/entry.bml.text Fri Apr 01 14:20:51 2011 +0800 +++ b/htdocs/preview/entry.bml.text Fri Apr 01 15:13:37 2011 +0800 @@ -1,1 +1,3 @@ +.title=[[sitenameshort]]: Entry Preview (Unsaved) + .entry.preview_warn_text=This is a preview only. To save this entry, close this popup and return to your main browser window. --------------------------------------------------------------------------------
no subject