diff --git a/src/public/js/modules/helpers.js b/src/public/js/modules/helpers.js index 4ab47ae3d..d72428684 100644 --- a/src/public/js/modules/helpers.js +++ b/src/public/js/modules/helpers.js @@ -193,6 +193,8 @@ define([ $sidebar.find('li[data-nav-accordion-target]').removeClass('hasSubMenuOpen') $sidebar.find('ul.side-nav-accordion.side-nav-sub').removeClass('subMenuOpen') } + + $(window).resize() } helpers.UI.bindExpand = function () { @@ -962,17 +964,6 @@ define([ } helpers.bindKeys = function () { - // var commentReply = $('#commentReply'); - // if (commentReply.length > 0) { - // commentReply.off('keydown'); - // commentReply.on('keydown', function(e) { - // var keyCode = (e.which ? e.which : e.keyCode); - // if (keyCode === 10 || keyCode === 13 && e.ctrlKey) { - // $('#comment-reply').find('button[type="submit"]').trigger('click'); - // } - // }); - // } - var ticketIssue = $('#createTicketForm').find('textarea#issue') if (ticketIssue.length > 0) { ticketIssue.off('keydown') @@ -1013,6 +1004,8 @@ define([ $(this).remove() }) + self.UI.tetherUpdate() + self.resizeFullHeight() self.hideAllpDropDowns()