undo/redo can become out of sync with text

Description

undo/redo can become out of sync with text

Steps to reproduce:

1) Open the bSpace example from the daily build site:
http://build.fluidproject.org/fluid/sample-code/inline-edit/section-info/section-info.html

2) Edit the text in one of the inline edit fields (e.g. to "change 1")

3) Click out side of the inline edit field to save the edit

4) Edit the same inline edit field again (e.g. to "change 2")

5) Click out side of the inline edit field to save this edit

6) Click the undo button, the text should now be "Change 1"

7) Activate the inline edit field again, but click outside to close edit mode without making any changes

8) Click the redo icon. Notice that it changes to an undo icon without changing the value to "Change 2". Now undo = "Change 2" and redo = "Change 1" when they should be the other way around

Environment

FF2, FF3, Opera 9.5, Safari 3 (Mac OS 10.5) FF2, FF3, IE6, IE7, Opera 9.5 (Win XP) FF3, IE7 (Win Vista) FF3, IE6 (Win 2000)

Activity

Show:

Justin Obara November 10, 2008 at 2:22 PM

Verified fix using:

FF2, FF3, Opera 9.5, Safari 3 (Mac OS 10.5)
FF2, FF3, IE6, Opera 9.5 (Win XP)
FF3, IE7 (Win Vista)

Antranig Basman November 7, 2008 at 10:18 PM

Fixed at revision 5965

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created October 6, 2008 at 1:12 PM
Updated November 10, 2008 at 2:22 PM
Resolved November 7, 2008 at 10:18 PM

Flag notifications