From 1daad6874b22e8f803f734b95197f41cb83f94fe Mon Sep 17 00:00:00 2001 From: Tobias Viehweger Date: Wed, 14 Oct 2015 23:50:20 +0200 Subject: [PATCH] fix promise --- com.yasoon.jira/Dialogs/jiraDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.yasoon.jira/Dialogs/jiraDialog.js b/com.yasoon.jira/Dialogs/jiraDialog.js index a96563d..4d8d4e8 100644 --- a/com.yasoon.jira/Dialogs/jiraDialog.js +++ b/com.yasoon.jira/Dialogs/jiraDialog.js @@ -488,7 +488,7 @@ yasoon.dialog.load(new function () { //jshint ignore:line $('#IssueArea').show(); var meta = $.grep(self.projectMeta.issuetypes, function (i) { return i.id == $('#issuetype').val(); })[0]; - jira.renderIssue(meta); + return jira.renderIssue(meta); }) .catch(jira.handleError); }