Commit bd888e13 authored by Phil Hughes's avatar Phil Hughes

Fixed submit button not enabling

Fixed tests
parent d7450946
...@@ -518,7 +518,9 @@ class GitLabDropdown ...@@ -518,7 +518,9 @@ class GitLabDropdown
if !field.length and fieldName if !field.length and fieldName
@addInput(fieldName, value) @addInput(fieldName, value)
else else
field.val value field
.val value
.trigger 'change'
return selectedObject return selectedObject
......
...@@ -16,7 +16,7 @@ describe "Compare", js: true do ...@@ -16,7 +16,7 @@ describe "Compare", js: true do
end end
it "should compare branches" do it "should compare branches" do
fill_in "from", with: "mast" fill_in "from", with: "fea"
find("#from").click find("#from").click
click_link "feature" click_link "feature"
......
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