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 %>