public
Description: Tracks is a GTD(TM) web application, built with Ruby on Rails
Homepage: http://www.rousette.org.uk/projects/
Clone URL: git://github.com/bsag/tracks.git
Click here to lend your support to: tracks and make a donation at www.pledgie.com !
restore bugfix of Luke that I removed in last commit by mistake.
lrbalt (author)
Thu Jan 08 01:45:19 -0800 2009
commit  037c04e72f42b2d3476f0b2db6584fc4683be930
tree    f22244e2a624a27f5c1c368b0bbef6b1bdb19a4f
parent  cebaf05a7fd751b3884bc506eddcad02ec626d49
...
175
176
177
178
 
 
 
 
179
180
181
...
175
176
177
 
178
179
180
181
182
183
184
0
@@ -175,7 +175,10 @@ class TodosController < ApplicationController
0
   def update
0
     @source_view = params['_source_view'] || 'todo'
0
     init_data_for_sidebar unless mobile?
0
-    @todo.tag_with(params[:tag_list]) if params[:tag_list]
0
+    if params[:tag_list]
0
+      @todo.tag_with(params[:tag_list])
0
+      @todo.tags(true) #force a reload for proper rendering
0
+    end
0
     @original_item_context_id = @todo.context_id
0
     @original_item_project_id = @todo.project_id
0
     @original_item_was_deferred = @todo.deferred?

Comments