From 54e3fdba3f53f6e36b64cc768051a1bfa9342e7f Mon Sep 17 00:00:00 2001 From: nwb Date: Mon, 9 Jun 2014 14:27:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AF=BE=E7=A8=8B=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E6=96=87=E4=BB=B6new=E8=A7=86=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/files/_course_file.html.erb | 10 +++--- app/views/files/_course_new.html.erb | 50 +++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 5 deletions(-) create mode 100644 app/views/files/_course_new.html.erb diff --git a/app/views/files/_course_file.html.erb b/app/views/files/_course_file.html.erb index 44970e041..ea7d6c24f 100644 --- a/app/views/files/_course_file.html.erb +++ b/app/views/files/_course_file.html.erb @@ -16,31 +16,31 @@       <%= select_tag "attachment_browse", content_tag(:option, l(:attachment_all), :value => '0') +options_from_collection_for_select(attachmenttypes, "id", "typeName"), - :onchange => "attachmenttypes_searchex(this.value)" %> + :onchange => "course_attachmenttypes_searchex(this.value)" %> <% end %> <% if sufixtypes.any? %>   <%= select_tag "attach_sufix_browse", content_tag(:option, l(:attachment_all), :value => '0') +options_for_select(sufixtypes), - :onchange => "attachment_contenttypes_searchex(this.value)" %> + :onchange => "course_attachment_contenttypes_searchex(this.value)" %> <% end %>