Commit ef9f5579 authored by Jacob Schatz's avatar Jacob Schatz

Fix coding style issues. Dashes to camelCase

parent a0a423fe
...@@ -203,7 +203,7 @@ class @LabelsSelect ...@@ -203,7 +203,7 @@ class @LabelsSelect
renderRow: (label) -> renderRow: (label) ->
selectedClass = '' selectedClass = ''
if $form.find("input[type='hidden']\ if $form.find("input[type='hidden']\
[name='#{$dropdown.data('field-name')}']\ [name='#{$dropdown.data('fieldName')}']\
[value='#{this.id(label)}']").length [value='#{this.id(label)}']").length
selectedClass = 'is-active' selectedClass = 'is-active'
...@@ -256,7 +256,7 @@ class @LabelsSelect ...@@ -256,7 +256,7 @@ class @LabelsSelect
if $dropdown.hasClass('js-filter-submit') and (isIssueIndex or isMRIndex) if $dropdown.hasClass('js-filter-submit') and (isIssueIndex or isMRIndex)
selectedLabels = $dropdown selectedLabels = $dropdown
.closest('form') .closest('form')
.find("input[type='hidden'][name='#{$dropdown.data('field-name')}']") .find("input[type='hidden'][name='#{$dropdown.data('fieldName')}']")
Issues.filterResults( Issues.filterResults(
$dropdown.closest('form'), $dropdown.closest('form'),
$dropdown.data('fieldName') $dropdown.data('fieldName')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment