]> source.dussan.org Git - redmine.git/commitdiff
scm: filesystem: fix mistake of respository select box on r4943 (#2274).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 24 Feb 2011 07:00:41 +0000 (07:00 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 24 Feb 2011 07:00:41 +0000 (07:00 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4944 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/repositories_helper.rb

index d314c90c956fcf31f2de7ac8e3c6ebe72bf3acd2..074dfa41a4cc861f619706e97b38dfdc8d1b83f0 100644 (file)
@@ -221,7 +221,7 @@ module RepositoriesHelper
   def filesystem_field_tags(form, repository)
     content_tag('p', form.text_field(:url, :label => 'Root directory',
                      :size => 60, :required => true,
-                     :disabled => (repository && !repository.root_url.blank?)))
+                     :disabled => (repository && !repository.root_url.blank?))) +
     content_tag('p', form.select(:path_encoding, [nil] + Setting::ENCODINGS,
                                  :label => 'Path encoding'))
   end