From 1c2c3f5a01ab12b94c6b9e29525e58b96f65a40c Mon Sep 17 00:00:00 2001 From: Shane Mingins Date: Mon, 6 Apr 2009 13:05:19 +1200 Subject: [PATCH] Fix progress bar running on IE --- lib/views/translations/translations.html.erb | 6 ------ lib/views/translations/update.rjs | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/views/translations/translations.html.erb b/lib/views/translations/translations.html.erb index b896044..c5ba906 100644 --- a/lib/views/translations/translations.html.erb +++ b/lib/views/translations/translations.html.erb @@ -4,12 +4,6 @@ <%= submit_tag 'Go' %> <% end -%> - -

Textual Translation progress: <%= @locale.percentage_translated %>

diff --git a/lib/views/translations/update.rjs b/lib/views/translations/update.rjs index ec51646..3eed693 100644 --- a/lib/views/translations/update.rjs +++ b/lib/views/translations/update.rjs @@ -1,6 +1,6 @@ # update the percentage and remove the translated record if translated for first time otherwise highlight change if @first_time_translating - page.call 'myJsProgressBarHandler.setPercentage', @locale.percentage_translated, true + page.call 'myJsProgressBarHandler.setPercentage', 'translate_progress', @locale.percentage_translated page.remove("translation_#{@translation.class}_#{@translation.id}") else page.visual_effect :highlight, "translation_#{@translation.class}_#{@translation.id}"