Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
2d45b4e3
Commit
2d45b4e3
authored
Feb 01, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrate projects:issues:index to static bundle
parent
33993385
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+0
-5
app/assets/javascripts/pages/projects/issues/index/index.js
app/assets/javascripts/pages/projects/issues/index/index.js
+2
-2
No files found.
app/assets/javascripts/dispatcher.js
View file @
2d45b4e3
...
@@ -55,12 +55,7 @@ import SearchAutocomplete from './search_autocomplete';
...
@@ -55,12 +55,7 @@ import SearchAutocomplete from './search_autocomplete';
.
catch
(
fail
);
.
catch
(
fail
);
break
;
break
;
case
'
projects:merge_requests:index
'
:
case
'
projects:merge_requests:index
'
:
shortcut_handler
=
true
;
break
;
case
'
projects:issues:index
'
:
case
'
projects:issues:index
'
:
import
(
'
./pages/projects/issues/index
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
shortcut_handler
=
true
;
shortcut_handler
=
true
;
break
;
break
;
case
'
projects:issues:show
'
:
case
'
projects:issues:show
'
:
...
...
app/assets/javascripts/pages/projects/issues/index/index.js
View file @
2d45b4e3
...
@@ -7,10 +7,10 @@ import initFilteredSearch from '~/pages/search/init_filtered_search';
...
@@ -7,10 +7,10 @@ import initFilteredSearch from '~/pages/search/init_filtered_search';
import
{
FILTERED_SEARCH
}
from
'
~/pages/constants
'
;
import
{
FILTERED_SEARCH
}
from
'
~/pages/constants
'
;
import
{
ISSUABLE_INDEX
}
from
'
~/pages/projects/constants
'
;
import
{
ISSUABLE_INDEX
}
from
'
~/pages/projects/constants
'
;
export
default
()
=>
{
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
initFilteredSearch
(
FILTERED_SEARCH
.
ISSUES
);
initFilteredSearch
(
FILTERED_SEARCH
.
ISSUES
);
new
IssuableIndex
(
ISSUABLE_INDEX
.
ISSUE
);
new
IssuableIndex
(
ISSUABLE_INDEX
.
ISSUE
);
new
ShortcutsNavigation
();
new
ShortcutsNavigation
();
new
UsersSelect
();
new
UsersSelect
();
};
}
)
;
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