Undo/Redo markers while editing
Eli Cochran
eli at media.berkeley.edu
Fri Oct 31 21:06:58 UTC 2008
Hi folks,
I ran into an interesting problem while trying to diddle with the
behavior of Undo and InlineEdit in the Section Info example so that we
can do some User Testing
What I'm trying to do is hide Undo/Redo links for an inlineEditable
element while it is being edited. The reason for this is two fold: 1)
Reduce clutter. 2) Undo and Redo are ambiguous while actually editing.
I didn't want to change the default behavior because this is just a
test and this might not be the right default behavior (although I
suspect that it is.) I suspect that I might be able to introduce this
behavior via the event system but found that I needed some additional
hooks.
Specifically, at the time that I specify the fluid.undoDecorator as a
componentDecorator for inlineEdit, to be able to specify which
inlineEdit events I want Undo to listen to and what I want to fire
when the event happens.
Anyway, I've written a bug up for this: FLUID-1764.
Thanks,
Eli
. . . . . . . . . . . . . . . . . . .
Eli Cochran
user interaction developer
ETS, UC Berkeley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.idrc.ocad.ca/pipermail/fluid-work/attachments/20081031/cca67306/attachment.htm>
More information about the fluid-work
mailing list