BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ab7bfff0
Commit
ab7bfff0
authored
Mar 07, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make changing the URL optional - future proof ourselves for the modal window
parent
107c39a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
boards_bundle.js
app/assets/javascripts/boards/boards_bundle.js
+4
-3
filtered_search_boards.js
app/assets/javascripts/boards/filtered_search_boards.js
+5
-2
No files found.
app/assets/javascripts/boards/boards_bundle.js
View file @
ab7bfff0
/* eslint-disable one-var, quote-props, comma-dangle, space-before-function-paren */
/* eslint-disable one-var, quote-props, comma-dangle, space-before-function-paren
, no-new
*/
/* global Vue */
/* global BoardService */
import
FilteredSearchBoards
from
'./filtered_search_boards'
;
window
.
Vue
=
require
(
'vue'
);
window
.
Vue
.
use
(
require
(
'vue-resource'
));
import
FilteredSearchBoards
from
'./filtered_search_boards'
;
require
(
'./models/issue'
);
require
(
'./models/label'
);
require
(
'./models/list'
);
...
...
@@ -61,7 +62,7 @@ $(() => {
created
()
{
gl
.
boardService
=
new
BoardService
(
this
.
endpoint
,
this
.
bulkUpdatePath
,
this
.
boardId
);
new
FilteredSearchBoards
(
Store
.
filter
);
new
FilteredSearchBoards
(
Store
.
filter
,
true
);
},
mounted
()
{
Store
.
disabled
=
this
.
disabled
;
...
...
app/assets/javascripts/boards/filtered_search_boards.js
View file @
ab7bfff0
export
default
class
FilteredSearchBoards
extends
gl
.
FilteredSearchManager
{
constructor
(
store
)
{
constructor
(
store
,
updateUrl
=
false
)
{
super
(
'boards'
);
this
.
store
=
store
;
this
.
updateUrl
=
updateUrl
;
this
.
isHandledAsync
=
true
;
}
updateObject
(
path
)
{
this
.
store
.
path
=
path
.
substr
(
1
);
gl
.
issueBoards
.
BoardsStore
.
updateFiltersUrl
();
if
(
this
.
updateUrl
)
{
gl
.
issueBoards
.
BoardsStore
.
updateFiltersUrl
();
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment