summaryrefslogtreecommitdiff
path: root/views/models.haml
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-08-22 16:25:21 +0000
committerChristoph Helma <helma@in-silico.ch>2011-08-22 16:25:21 +0000
commita8f6072f32ef5ae650216a4612d13eeb6b310c7e (patch)
tree60cb79d76b74c94b46201038c260e083a626806f /views/models.haml
parentf5eccd4ce22acb2fa05e84fb80e8385cce235d51 (diff)
parent4fc732ca31b07ba1469358836abf6ffd3c955098 (diff)
Merge branch 'development' of github.com:opentox/toxcreate into development
Diffstat (limited to 'views/models.haml')
-rw-r--r--views/models.haml6
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.