diff options
author | gebele <gebele@in-silico.ch> | 2013-06-25 14:50:21 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-06-25 14:50:21 +0200 |
commit | b8ae9e89917e824ad69838a7acf30af9c23cac81 (patch) | |
tree | 15b8da1f7fcbc398f80d84a6807ddc87840c2fd3 /views/predict.haml | |
parent | 76d196bbda378c29ff9c35c96d85b47dc8dfa3cc (diff) |
fixes for IE
Diffstat (limited to 'views/predict.haml')
-rw-r--r-- | views/predict.haml | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/views/predict.haml b/views/predict.haml index 12ed158..7dfc786 100644 --- a/views/predict.haml +++ b/views/predict.haml @@ -8,7 +8,7 @@ return true; }; function checkboxes () { - if ($("#model input[type=checkbox]:checked").length < 1 ){ + if ($("#model input[type=checkbox]:checked") == true ){ alert("Please select an endpoint.") document.getElementById('model').focus(); return false; @@ -49,14 +49,9 @@ %a{:href => "http://en.wikipedia.org/wiki/Simplified_molecular_input_line_entry_specification", :rel => "external"} SMILES string: %input{:type => 'text', :name => 'identifier', :id => 'identifier', :size => '60'} - - - .close - -#= hide_link "#insert" .arrow %img{:src=>"/images/arrow_down_float.png", :alt=>"arrow", :class=> "arrow"} - %fieldset#middle %a{:href => "#models", :id => "linkModels"} @@ -82,18 +77,12 @@ %a{:href=>"#", :alt=>"#{model.title} validation"} %i ( Validation report ) %br - - .close - -#= hide_link "#models" .arrow %img{:src=>"/images/arrow_down_float.png", :alt=>"arrow", :class=> "arrow"} - %fieldset#bottom %a{:href => "#predict", :id => "linkPredict"} %label{:for => "submit"} %h1 3. Predict %input{ :type => "submit", :id => "submit", :value=>">>", :onclick => "getsmiles()"} - - |