fix #1305 and #1309. Only check on show_from in the past when you change the show_from. This will not prevent a save of the todo when another change is made and show_from has some old date

This commit is contained in:
Reinier Balt 2012-08-26 17:33:51 +02:00
parent be26cfdd66
commit dd83040ea0
3 changed files with 32 additions and 12 deletions

View file

@ -83,16 +83,16 @@ GEM
actionpack (~> 3.0)
bluecloth (~> 2.2)
gem_plugin (0.2.3)
gherkin (2.11.1)
gherkin (2.11.2)
json (>= 1.4.6)
hike (1.2.1)
htmlentities (4.3.1)
i18n (0.6.0)
journey (1.0.4)
jquery-rails (2.0.2)
railties (>= 3.2.0, < 5.0)
jquery-rails (2.1.1)
railties (>= 3.1.0, < 5.0)
thor (~> 0.14)
json (1.7.4)
json (1.7.5)
libv8 (3.3.10.4)
libwebsocket (0.1.5)
addressable
@ -142,11 +142,11 @@ GEM
rspec-core (2.11.1)
rspec-expectations (2.11.2)
diff-lcs (~> 1.1.3)
rspec-mocks (2.11.1)
rspec-mocks (2.11.2)
rubyzip (0.9.9)
sanitize (2.0.3)
nokogiri (>= 1.4.4, < 1.6)
sass (3.1.20)
sass (3.2.1)
sass-rails (3.2.5)
railties (~> 3.2.0)
sass (>= 3.1.10)
@ -166,7 +166,7 @@ GEM
rails (>= 3.1)
therubyracer (0.10.2)
libv8 (~> 3.3.10)
thor (0.15.4)
thor (0.16.0)
tilt (1.3.3)
tolk (1.3.2)
will_paginate