Commit ec1a4267 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

fixed double form 'Add new' for issues

parent 16a98387
......@@ -3,6 +3,7 @@ function switchToNewIssue(form){
$(".project-content").append(form);
$('select#issue_assignee_id').chosen();
$("#new_issue_dialog").show("slide", { direction: "right" }, 150);
$('.top-tabs .add_new').hide();
});
}
......@@ -11,6 +12,7 @@ function switchToEditIssue(form){
$(".project-content").append(form);
$('select#issue_assignee_id').chosen();
$("#edit_issue_dialog").show("slide", { direction: "right" }, 150);
$('.top-tabs .add_new').hide();
});
}
......@@ -27,6 +29,7 @@ function backToIssues(){
$("#issues-table-holder").show("slide", { direction: "left" }, 150, function() {
$("#edit_issue_dialog").remove();
$("#new_issue_dialog").remove();
$('.top-tabs .add_new').show();
});
});
}
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