Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
gy4443
chemotion_eln_server
Commits
c0ec5285
Commit
c0ec5285
authored
Aug 18, 2015
by
Marco Sehrer
Browse files
Fix sharing url navigation
parent
c4fe05a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/assets/javascripts/components/managing_actions/ShareButton.js
View file @
c0ec5285
...
...
@@ -8,7 +8,8 @@ export default class ShareButton extends React.Component {
}
showShareModal
()
{
Aviator
.
navigate
(
Aviator
.
getCurrentURI
()
+
'
/sharing
'
);
let
[
url
,
query
]
=
Aviator
.
getCurrentURI
().
split
(
'
?
'
)
Aviator
.
navigate
(
url
+
'
/sharing?
'
+
query
);
}
render
()
{
...
...
app/assets/javascripts/components/managing_actions/ShareModal.js
View file @
c0ec5285
...
...
@@ -34,8 +34,8 @@ export default class ShareModal extends React.Component {
}
hideModal
()
{
//window.history.back();
Aviator
.
navigate
(
Aviator
.
getCurrentURI
()
+
'
/hide
'
);
let
[
url
,
query
]
=
Aviator
.
getCurrentURI
().
split
(
'
?
'
)
Aviator
.
navigate
(
url
+
'
/hide?
'
+
query
);
}
handleSharing
()
{
...
...
Write
Preview
Supports
Markdown
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