Fix js not reload bug.
This commit is contained in:
1 parent
e49baf5273
commit
050b1d14c8
5 files changed
+80
-9
No files matched your search
@@ -330,7 +330,7 @@ class Admin::Coloncancerpredict1sController < OrbitAdminController
|
||||
Dir.chdir("public") do
|
||||
@site_locales = Site.last.in_use_locales.each do |locale|
|
||||
I18n.with_locale(locale) do
|
||||
@file_tmp = File.new('colon_cancer_tool_table_tmp_'+locale.to_s+'1.txt', 'w')
|
||||
@file_tmp = File.new(Coloncancerpredictfields1s::ToolTableMap[I18n.locale], 'w')
|
||||
tmp_table_texts = create_table(locale)
|
||||
@file_tmp.write(tmp_table_texts)
|
||||
@file_tmp.close
|
||||
@@ -654,7 +654,7 @@ class Admin::Coloncancerpredict1sController < OrbitAdminController
|
||||
Dir.chdir("public") do
|
||||
@site_locales = Site.last.in_use_locales.each do |locale|
|
||||
I18n.with_locale(locale) do
|
||||
@file_tmp = File.new('colon_cancer_tool_table_tmp_'+locale.to_s+'1.txt', 'w')
|
||||
@file_tmp = File.new(Coloncancerpredictfields1s::ToolTableMap[I18n.locale], 'w')
|
||||
tmp_table_texts = create_table(locale)
|
||||
@file_tmp.write(tmp_table_texts)
|
||||
@file_tmp.close
|
||||
|
||||
Reference in new issue
Block a user