From 5b6a591df21ce06e0a0bf026173f2c924be0ef65 Mon Sep 17 00:00:00 2001 From: Tobias Viehweger Date: Wed, 14 Oct 2015 23:16:47 +0200 Subject: [PATCH] fix copy & paste bug --- 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 adf86c3..a96563d 100644 --- a/com.yasoon.jira/Dialogs/jiraDialog.js +++ b/com.yasoon.jira/Dialogs/jiraDialog.js @@ -667,7 +667,7 @@ yasoon.dialog.load(new function () { //jshint ignore:line //Check in Cache if (jira.cacheCreateMetas && jira.cacheCreateMetas.length > 0) { var projectMeta = jira.cacheCreateMetas.filter(function (m) { return m.key === jira.selectedProject.key; })[0]; - if (project) { + if (projectMeta) { jira.projectMeta = projectMeta; return resolve(); }