diff options
author | mr <mr@mrautenberg.de> | 2011-08-03 12:57:22 +0200 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-08-03 12:57:22 +0200 |
commit | 065a42d25e5bbace7af0e521d6fab0bb2bb030d6 (patch) | |
tree | a3691f45ceada46f263ce5e470e4a45b262ed4f5 | |
parent | d5742dccb894de51644c1f804693e497c8e5be66 (diff) |
remove alt tag from progressbar
-rwxr-xr-x | public/javascripts/toxcreate.js | 3 | ||||
-rw-r--r-- | views/model.haml | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/public/javascripts/toxcreate.js b/public/javascripts/toxcreate.js index a5dc44c..91789f8 100755 --- a/public/javascripts/toxcreate.js +++ b/public/javascripts/toxcreate.js @@ -77,8 +77,7 @@ $(function() { if (progress == "100") return -1; $("div#model_" + id + "_progress").progressbar("value", parseInt(progress)); - $("div#model_" + id + "_progress").attr({title: parseInt(progress) + "%", alt: parseInt(progress) + "%"}); - //$("div#model_" + id + "_progress").attr("alt", parseInt(progress) + "%"); + $("div#model_" + id + "_progress").attr({title: parseInt(progress) + "%"}); }, error: function(data) { id = -1; diff --git a/views/model.haml b/views/model.haml index fe43a1f..f646dec 100644 --- a/views/model.haml +++ b/views/model.haml @@ -24,7 +24,7 @@ #{js} }); - %div{:id => "model_#{model.id}_progress", :class => "model_progress", :title => "#{percentage_completed}%", :alt => "#{percentage_completed}%"} + %div{:id => "model_#{model.id}_progress", :class => "model_progress", :title => "#{percentage_completed}%"} //= haml :model_progress, :locals=>{:percentage_completed=>percentage_completed}, :layout => false - if is_authorized(model.web_uri, "DELETE") %a{:href => url_for("/model/#{model.id}"), :id => "delete_#{model.id}", :class => 'delete_link'} |