Skip to content

Commit

Permalink
fix(ui): grid not resizing correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
polonel committed Feb 20, 2019
1 parent 20235f7 commit 235c960
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions src/public/js/modules/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down Expand Up @@ -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')
Expand Down Expand Up @@ -1013,6 +1004,8 @@ define([
$(this).remove()
})

self.UI.tetherUpdate()

self.resizeFullHeight()
self.hideAllpDropDowns()

Expand Down

0 comments on commit 235c960

Please sign in to comment.