diff options
author | Christoph Helma <helma@in-silico.ch> | 2011-08-22 16:25:21 +0000 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2011-08-22 16:25:21 +0000 |
commit | a8f6072f32ef5ae650216a4612d13eeb6b310c7e (patch) | |
tree | 60cb79d76b74c94b46201038c260e083a626806f /views/models.haml | |
parent | f5eccd4ce22acb2fa05e84fb80e8385cce235d51 (diff) | |
parent | 4fc732ca31b07ba1469358836abf6ffd3c955098 (diff) |
Merge branch 'development' of github.com:opentox/toxcreate into development
Diffstat (limited to 'views/models.haml')
-rw-r--r-- | views/models.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/models.haml b/views/models.haml index 9ab2858..a1ef8ba 100644 --- a/views/models.haml +++ b/views/models.haml @@ -3,7 +3,7 @@ :javascript $(function() { if(#{stati != 0}) { - setTimeout('checkStati("#{stati_to_check}", "#{subjectstring}")',5000); + setTimeout('checkStati("#{stati_to_check}", "")',5000); } var reload_validation = true; }); @@ -20,6 +20,6 @@ - if @models - @models.each do |model| - = haml :model, :locals=>{:model=>model,:subjectstring=>subjectstring}, :layout => false --if @models.size == 0 + = haml :model, :locals=>{:model=>model}, :layout => false +-if @models.size == 0 .notice There are currently no models. You have to create a model first. |