Commit 4d843d2ce1e12525637e2a578896686a4efb9a55
1 parent
e4aa5a5c
Exists in
master
and in
4 other branches
Fix auto-completion for forms that are inserted with JS
Showing
2 changed files
with
3 additions
and
0 deletions
Show diff stats
app/assets/javascripts/issues.js
... | ... | @@ -6,6 +6,7 @@ function switchToNewIssue(form){ |
6 | 6 | $("#new_issue_dialog").show("fade", { direction: "right" }, 150); |
7 | 7 | $('.top-tabs .add_new').hide(); |
8 | 8 | disableButtonIfEmptyField("#issue_title", ".save-btn"); |
9 | + setupGfmAutoComplete(); | |
9 | 10 | }); |
10 | 11 | } |
11 | 12 | |
... | ... | @@ -17,6 +18,7 @@ function switchToEditIssue(form){ |
17 | 18 | $("#edit_issue_dialog").show("fade", { direction: "right" }, 150); |
18 | 19 | $('.add_new').hide(); |
19 | 20 | disableButtonIfEmptyField("#issue_title", ".save-btn"); |
21 | + setupGfmAutoComplete(); | |
20 | 22 | }); |
21 | 23 | } |
22 | 24 | ... | ... |