Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
b8bf8efa
Commit
b8bf8efa
authored
Sep 25, 2017
by
Piotr Gawron
Browse files
fix when there is no redirection url defined
parent
6f921dfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/src/main/webapp/login.xhtml
View file @
b8bf8efa
...
...
@@ -52,7 +52,10 @@
}
function
init
()
{
$
(
"
#from
"
)[
0
].
value
=
minerva
.
GuiConnector
.
getParams
[
"
from
"
];
var
fromPage
=
minerva
.
GuiConnector
.
getParams
[
"
from
"
];
if
(
fromPage
!==
undefined
&&
fromPage
!==
null
&&
fromPage
!==
""
)
{
$
(
"
#from
"
)[
0
].
value
=
minerva
.
GuiConnector
.
getParams
[
"
from
"
];
}
$
(
'
#login
'
).
click
(
function
(
e
)
{
if
(
!
loggedIn
)
{
e
.
preventDefault
();
...
...
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