Commit 33fb8e83 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Revert "resolve milestone_select conflict"

This reverts commit 60f8ee06.
parent 3c7eebdd
...@@ -148,6 +148,7 @@ import _ from 'underscore'; ...@@ -148,6 +148,7 @@ import _ from 'underscore';
$(`[data-milestone-id="${selectedMilestone}"] > a`, $el).addClass('is-active'); $(`[data-milestone-id="${selectedMilestone}"] > a`, $el).addClass('is-active');
}, },
vue: $dropdown.hasClass('js-issue-board-sidebar'), vue: $dropdown.hasClass('js-issue-board-sidebar'),
<<<<<<< HEAD
hideRow: function(milestone) { hideRow: function(milestone) {
if ($('html').hasClass('issue-boards-page') && !$dropdown.hasClass('js-issue-board-sidebar') && if ($('html').hasClass('issue-boards-page') && !$dropdown.hasClass('js-issue-board-sidebar') &&
!$dropdown.closest('.add-issues-modal').length && gl.issueBoards.BoardsStore.state.currentBoard.milestone) { !$dropdown.closest('.add-issues-modal').length && gl.issueBoards.BoardsStore.state.currentBoard.milestone) {
...@@ -164,9 +165,14 @@ import _ from 'underscore'; ...@@ -164,9 +165,14 @@ import _ from 'underscore';
return true; return true;
}, },
clicked: function(options) {
const { $el, e } = options;
let selected = options.selectedObj;
=======
clicked: function(clickEvent) { clicked: function(clickEvent) {
const { $el, e } = clickEvent; const { $el, e } = clickEvent;
let selected = clickEvent.selectedObj; let selected = clickEvent.selectedObj;
>>>>>>> ce-com/master
var data, isIssueIndex, isMRIndex, isSelecting, page, boardsStore; var data, isIssueIndex, isMRIndex, isSelecting, page, boardsStore;
if (!selected) return; if (!selected) return;
......
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