summaryrefslogtreecommitdiffstats
path: root/app/helpers/repositories_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/repositories_helper.rb')
-rw-r--r--app/helpers/repositories_helper.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb
index 66c63fa90..d9fdfd3fe 100644
--- a/app/helpers/repositories_helper.rb
+++ b/app/helpers/repositories_helper.rb
@@ -141,12 +141,7 @@ module RepositoriesHelper
select_tag('repository_scm',
options_for_select(scm_options, repository.class.name.demodulize),
:disabled => (repository && !repository.new_record?),
- :onchange => remote_function(
- :url => new_project_repository_path(@project),
- :method => :get,
- :update => 'content',
- :with => "Form.serialize(this.form)")
- )
+ :data => {:remote => true, :method => 'get'})
end
def with_leading_slash(path)