Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
336b7abe
"simplesamlphp-upgrade-notes-1.5" did not exist on "e06eb9f3bbd7480625ac655619a442fb82e02f04"
Unverified
Commit
336b7abe
authored
6 years ago
by
Jaime Pérez Crespo
Browse files
Options
Downloads
Patches
Plain Diff
bugfix: Click the submit button in the new UI does not work on chrome.
parent
80a178ba
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/core/templates/loginuserpass.twig
+8
-6
8 additions, 6 deletions
modules/core/templates/loginuserpass.twig
modules/core/www/assets/js/loginuserpass.js
+6
-15
6 additions, 15 deletions
modules/core/www/assets/js/loginuserpass.js
with
14 additions
and
21 deletions
modules/core/templates/loginuserpass.twig
+
8
−
6
View file @
336b7abe
...
@@ -98,13 +98,15 @@
...
@@ -98,13 +98,15 @@
</div>
<!-- form-align-->
</div>
<!-- form-align-->
<br><br>
<br><br>
<button
class=
"pure-button pure-button-red pure-input-1-2 pure-input-sm-1-1 right"
id=
"submit_button"
type=
"submit"
tabindex=
"6"
>
{%
-
for
name
,
value
in
stateparams
%}
{{
'Login'
|
trans
}}
</button>
<input
type=
"hidden"
name=
"
{{
name
}}
"
value=
"
{{
value
}}
"
/>
<input
type=
'hidden'
id=
"processing_trans"
value=
"
{{
'Processing...'
|
trans
}}
"
/>
{%
for
name
,
value
in
stateparams
-
%}
<input
type=
"hidden"
name=
"
{{
name
}}
"
value=
"
{{
value
}}
"
/>
{%
-
endfor
%}
{%
-
endfor
%}
<button
class=
"pure-button pure-button-red pure-input-1-2 pure-input-sm-1-1 right"
id=
"submit_button"
type=
"submit"
tabindex=
"6"
data-processing=
"
{%
trans
%}
Processing...
{%
endtrans
%}
"
>
{%
trans
%}
Log in
{%
endtrans
%}
</button>
</form>
</form>
</div>
<!--center-->
</div>
<!--center-->
{%
if
links
-
%}
{%
if
links
-
%}
...
...
This diff is collapsed.
Click to expand it.
modules/core/www/assets/js/loginuserpass.js
+
6
−
15
View file @
336b7abe
document
.
addEventListener
(
$
(
document
).
ready
(
function
()
{
'
DOMContentLoaded
'
,
$
(
'
#submit_button
'
).
on
(
'
click
'
,
function
()
{
function
()
{
$
(
this
).
attr
(
'
disabled
'
,
'
disabled
'
);
var
button
=
document
.
getElementById
(
"
submit_button
"
);
$
(
this
).
html
(
$
(
this
).
data
(
'
processing
'
));
button
.
addEventListener
(
});
'
click
'
,
});
function
()
{
var
translation
=
document
.
getElementById
(
"
processing_trans
"
);
this
.
disabled
=
true
;
this
.
innerHTML
=
translation
.
value
;
return
true
;
}
);
}
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment