[pmwiki-users] Lost Edits

Pierre-Marie CARETTE carette.pierre-marie at wanadoo.fr
Sun Mar 12 16:21:23 CST 2006


> On 3/12/06, christian.ridderstrom at gmail.com  
> <christian.ridderstrom at gmail.com > wrote:
> On Sun, 5 Mar 2006, Scott Connard wrote:
>
> > I was editing and clicked Preview to check my results, scrolled  
> down to
> > the bottom of the screen and forgot that I was previewing in the  
> middle
> > of an edit, so I clicked the Edit button and lost my edits.

Le 12 mars 06 à 22:17, Tegan Dowling a écrit :
>
> It happened to me a couple of times when I was new, and I've  
> watched it happen to other newbies, too.  I've always looked at it  
> as one of those lessons that we all learn "the hard way" (more  
> painfully for some than for others, depending on what we've lost in  
> the learning).

  my little poor solution : put a ugly coloured background ! in the  
preview of the page EditForm

[[#top]]
!$[Editing `{$FullName}] %block class=wikiaction%
(:if e_preview:)
 >>bgcolor=yellow<<
!![[#bottom |&#9660; ]] - $[Preview {$FullName}] - [[#bottom |&#9660; ]]
'''$[Page is unsaved]'''
(:e_preview:)
----
'''$[End of preview -- remember to save]'''\\
[[#top |&#9650; ]]
 >><<
(:if:)
[[#bottom]]
(:messages:)
(:div id='wikiedit':)
(:input e_form:)
(:input e_title:)
$[Summary]: (:input e_changesummary:)\\
%red%$[Author] :%% &nbsp;&nbsp; (:input e_author:) &nbsp;&nbsp; $ 
[This is a minor edit] : (:input e_minorcheckbox:)\\
[[#top |&#9650;]][[#bottomtext |&#9660; ]] (:input e_savebutton:)  
(:input e_saveeditbutton:) (:input e_savedraftbutton:) (:input  
e_previewbutton:) (:input e_cancelbutton:)\\
(:e_guibuttons:)[[<<]]
(:input e_textarea accesskey=',':)
[[#bottomtext]][[#top | &#9650; ]] (:input e_savebutton:) (:input  
e_saveeditbutton:) (:input e_savedraftbutton:)  (:input  
e_previewbutton:) (:input e_cancelbutton:)\\
(:e_guibuttons:)
(:input end:)
(:divend:)
(:include Site.EditQuickReference:)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060312/c551694f/attachment.html 


More information about the pmwiki-users mailing list