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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
3842e68f
Commit
3842e68f
authored
Feb 28, 2018
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix error in Issue page - don't load CE issue sidebar bundle on EE page
parent
6fc434bb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
11 deletions
+16
-11
app/assets/javascripts/pages/projects/issues/show.js
app/assets/javascripts/pages/projects/issues/show.js
+13
-0
app/assets/javascripts/pages/projects/issues/show/index.js
app/assets/javascripts/pages/projects/issues/show/index.js
+2
-10
ee/app/assets/javascripts/pages/projects/issues/show/index.js
...pp/assets/javascripts/pages/projects/issues/show/index.js
+1
-1
No files found.
app/assets/javascripts/pages/projects/issues/show.js
0 → 100644
View file @
3842e68f
import
initIssuableSidebar
from
'
~/init_issuable_sidebar
'
;
import
Issue
from
'
~/issue
'
;
import
ShortcutsIssuable
from
'
~/shortcuts_issuable
'
;
import
ZenMode
from
'
~/zen_mode
'
;
import
'
~/notes/index
'
;
import
'
~/issue_show/index
'
;
export
default
function
()
{
new
Issue
();
// eslint-disable-line no-new
new
ShortcutsIssuable
();
// eslint-disable-line no-new
new
ZenMode
();
// eslint-disable-line no-new
initIssuableSidebar
();
}
app/assets/javascripts/pages/projects/issues/show/index.js
View file @
3842e68f
import
initIssuableSidebar
from
'
~/init_issuable_sidebar
'
;
import
initSidebarBundle
from
'
~/sidebar/sidebar_bundle
'
;
import
Issue
from
'
~/issue
'
;
import
ShortcutsIssuable
from
'
~/shortcuts_issuable
'
;
import
ZenMode
from
'
~/zen_mode
'
;
import
'
~/notes/index
'
;
import
'
~/issue_show/index
'
;
import
initShow
from
'
../show
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
Issue
();
// eslint-disable-line no-new
new
ShortcutsIssuable
();
// eslint-disable-line no-new
new
ZenMode
();
// eslint-disable-line no-new
initIssuableSidebar
();
initShow
();
initSidebarBundle
();
});
ee/app/assets/javascripts/pages/projects/issues/show/index.js
View file @
3842e68f
import
'
~/pages/projects/issues/show
/index
'
;
import
'
~/pages/projects/issues/show
'
;
import
initSidebarBundle
from
'
ee/sidebar/sidebar_bundle
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
initSidebarBundle
);
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