[development] [OT] Node title in Preview mode

Neil Drumm drumm at delocalizedham.com
Wed Mar 26 18:39:06 UTC 2008

No, I would say that is a bug. As far as I know, IE won't keep the
form contents if the user clicks back after clicking away. So in some
common cases, this will lose the user's data. Losing data is generally
a bad thing.

A couple possible solutions which I haven't fully thought-out:
- Attach a false-returning click event handler to '.preview :link',
with some sort of "this is a preview" notification to explain why
clicking is doing nothing.
- A whole draft & autosave system so incomplete posts are never lost
under any normal circumstances.

On Wed, Mar 26, 2008 at 5:02 AM, Earnie Boyd
<earnie at users.sourceforge.net> wrote:
> Quoting Andre Avorio <andre at andreavorio.com>:
>  > Hi there!
>  >
>  > Does anybody know why when previewing a node its title
>  > appears with a link to "/node"? I have seen some users
>  > accidentally clicking on this link and loosing their content.
>  >
>  > Is there a reason why the title appears with a link?
>  >
>  This is a support question.  The preview flows through all of the
>  normal node view methods and shows the teaser and the node to the user
>  as it would be if the user saves and publishes the node.  However, I
>  agree that it would be a nice feature that the preview link would just
>  wrap to itself.
>  Earnie -- http://for-my-kids.com/
>  -- http://give-me-an-offer.com/

Neil Drumm

More information about the development mailing list