Refactor GFM JS naming and access
This commit is contained in:
parent
1cda62465f
commit
3e800c3bb1
4 changed files with 20 additions and 19 deletions
|
@ -5,7 +5,7 @@ function switchToNewIssue(){
|
|||
$("#new_issue_dialog").show("fade", { direction: "right" }, 150);
|
||||
$('.top-tabs .add_new').hide();
|
||||
disableButtonIfEmptyField("#issue_title", ".save-btn");
|
||||
setupGfmAutoComplete();
|
||||
GitLab.GfmAutoComplete.setup();
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ function switchToEditIssue(){
|
|||
$("#edit_issue_dialog").show("fade", { direction: "right" }, 150);
|
||||
$('.add_new').hide();
|
||||
disableButtonIfEmptyField("#issue_title", ".save-btn");
|
||||
setupGfmAutoComplete();
|
||||
GitLab.GfmAutoComplete.setup();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue