lib/ruote/exp/fe_redo.rb in ruote-2.2.0 vs lib/ruote/exp/fe_redo.rb in ruote-2.3.0

- old
+ new

@@ -1,7 +1,7 @@ #-- -# Copyright (c) 2005-2011, John Mettraux, jmettraux@gmail.com +# Copyright (c) 2005-2012, John Mettraux, jmettraux@gmail.com # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell @@ -61,10 +61,11 @@ ref = attribute(:ref) || attribute_text tag = ref ? lookup_variable(ref) : nil if tag && Ruote.is_a_fei?(tag) - @context.storage.put_msg('cancel', 'fei' => tag, 're_apply' => true) + @context.storage.put_msg( + 'cancel', 'fei' => tag, 're_apply' => { 'workitem' => 'applied' }) reply_to_parent(h.applied_workitem) unless ancestor?(tag) else