How can I do undo operation

Notice: This thread is very old.
Mesiah
Member | 240
+
0
-

Hello guys,

I want to ask, how you perform undo operation?
For example, if user sets photo of product, I show him/her flash message with result of operation and I want add ability to perform undo (via hyperlink), or when user set text of product, add comment, etc…

Last edited by Mesiah (2014-01-22 15:46)

Aurielle
Member | 1281
+
0
-

That is typically performed by using a signal that does the exact opposite of what you did in just completed action.

Mesiah
Member | 240
+
0
-

I'm sorry for unclear/unspecific question; but I was wondering how and where should I persist previous actions? Have you got any recommendations?