On Mon, Apr 27, 2009 at 11:45 AM, Jason Grout
<jason-s...@creativetrax.com> wrote:
>
> William Stein wrote:
>> On Mon, Apr 27, 2009 at 11:29 AM, kcrisman <kcris...@gmail.com> wrote:
>>> Just as a postscript, I was really glad to have the autosave a few
>>> minute ago, where I nearly deleted an entire lecture's worth of notes
>>> and computations which I hadn't saved, by accidentally brushing
>>> against a browser shortcut to a "favorites" page on the wrong window.
>>> (This could happen with "reload" or other shortcuts, too, I suspect.)
>>> When I used the browser "back" button, I had literally nothing, but
>>> the autosave had captured my previous revision!
>>
>> You could have just pressed reload and you would have had your
>> worksheet back entirely.   It was still sitting there on the server in
>> RAM.   Never use the back button with the sage notebook, unless you
>> immediately press refresh.
>>
>
> Tom or some other javascript ninja:
>
> Isn't there some sort of javascript that disables the back button?
> That's a common problem in web applications, and I'd be very surprised
> if it isn't a solved problem already.
>
> Jason
>

Not, there is no javascript to do that.  Also, disabling the back
button is irrelevant to the above problem, which would only have been
prevented by disabling being able to leave the page by clicking on a
favorites.   There is javascript to attempt to prevent users from
leaving pages -- lots of spam sites use it.  Of course it doesn't work
well though, and is often extremely annoying.

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to