summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatricio Cano <suprnova32@gmail.com>2016-10-11 13:01:57 -0500
committerPatricio Cano <suprnova32@gmail.com>2016-10-11 13:01:57 -0500
commitea3bbbdef86ae30fcf76baaba11a3fceb6d2aa03 (patch)
tree9425b2bb39632d5bc935016e4bb011ee06a85350
parentd57d892e3fd4d73a477ba5c1b0049864f7c9e6b2 (diff)
downloadgitlab-ce-ea3bbbdef86ae30fcf76baaba11a3fceb6d2aa03.tar.gz
FIx JS bug with select2 because of missing `data-field` attribute in select box.
-rw-r--r--app/views/projects/edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index d19422c8657..c8f84b96cb7 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -91,7 +91,7 @@
Git Large File Storage
= link_to icon('question-circle'), help_page_path('workflow/lfs/manage_large_binaries_with_git_lfs')
.col-md-3
- = f.select :lfs_enabled, [%w(Enabled true), %w(Disabled false)], {}, selected: @project.lfs_enabled?, class: 'pull-right form-control'
+ = f.select :lfs_enabled, [%w(Enabled true), %w(Disabled false)], {}, selected: @project.lfs_enabled?, class: 'pull-right form-control', data: { field: 'lfs_enabled' }
- if Gitlab.config.registry.enabled
.form-group