@@ -163,18 +163,18 module RepositoriesHelper | |||
|
163 | 163 | scm_options << ["Repository::#{scm}".constantize.scm_name, scm] |
|
164 | 164 | end |
|
165 | 165 | end |
|
166 |
select_tag('repository_scm', |
|
|
166 | select_tag('repository_scm', | |
|
167 | 167 | options_for_select(scm_options, repository.class.name.demodulize), |
|
168 | 168 | :disabled => (repository && !repository.new_record?), |
|
169 | 169 | :onchange => remote_function( |
|
170 | 170 | :url => { |
|
171 | 171 | :controller => 'repositories', |
|
172 | :action => 'edit', | |
|
173 | :id => @project | |
|
174 |
|
|
|
172 | :action => 'edit', | |
|
173 | :id => @project | |
|
174 | }, | |
|
175 | 175 | :method => :get, |
|
176 | :with => "Form.serialize(this.form)") | |
|
177 |
|
|
|
176 | :with => "Form.serialize(this.form)") | |
|
177 | ) | |
|
178 | 178 | end |
|
179 | 179 | |
|
180 | 180 | def with_leading_slash(path) |
General Comments 0
You need to be logged in to leave comments.
Login now