diff --git a/app/helpers/shixuns_helper.rb b/app/helpers/shixuns_helper.rb index 48ca98f26..1fc656a61 100644 --- a/app/helpers/shixuns_helper.rb +++ b/app/helpers/shixuns_helper.rb @@ -169,6 +169,7 @@ module ShixunsHelper source_class_name << source if source.present? end end + logger.info("####source_class_name: #{source_class_name}") script = if script.include?("sourceClassName") && script.include?("challengeProgramName") script.gsub(/challengeProgramNames=\(.*\)/,"challengeProgramNames=\(#{challenge_program_name.reject(&:blank?).join(" ")}\)").gsub(/sourceClassNames=\(.*\)/, "sourceClassNames=\(#{source_class_name.reject(&:blank?).join(" ")}\)") else diff --git a/app/views/admins/subject_settings/update_mobile_show.js.erb b/app/views/admins/subject_settings/update_mobile_show.js.erb index c95a41ec3..e69de29bb 100644 --- a/app/views/admins/subject_settings/update_mobile_show.js.erb +++ b/app/views/admins/subject_settings/update_mobile_show.js.erb @@ -1 +0,0 @@ -$.notify({ message: '更新成功' }); \ No newline at end of file