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
f6bda0aa
Commit
f6bda0aa
authored
3 years ago
by
Tim van Dijen
Browse files
Options
Downloads
Patches
Plain Diff
Move generic part to bundle
parent
d2d5c75b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/core/www/assets/js/loginuserpass.js
+0
-16
0 additions, 16 deletions
modules/core/www/assets/js/loginuserpass.js
src/js/bundle.js
+16
-0
16 additions, 0 deletions
src/js/bundle.js
with
16 additions
and
16 deletions
modules/core/www/assets/js/loginuserpass.js
+
0
−
16
View file @
f6bda0aa
window
.
readyHandlers
=
[];
window
.
ready
=
function
ready
(
handler
)
{
window
.
readyHandlers
.
push
(
handler
);
handleState
();
};
window
.
handleState
=
function
handleState
()
{
if
(
document
.
readyState
===
'
interactive
'
||
document
.
readyState
===
"
complete
"
)
{
while
(
window
.
readyHandlers
.
length
>
0
)
{
(
window
.
readyHandlers
.
shift
())();
}
}
};
document
.
onreadystatechange
=
window
.
handleState
;
ready
(
function
()
{
ready
(
function
()
{
// your code here
// your code here
var
button
=
document
.
getElementById
(
"
submit_button
"
);
var
button
=
document
.
getElementById
(
"
submit_button
"
);
...
...
This diff is collapsed.
Click to expand it.
src/js/bundle.js
+
16
−
0
View file @
f6bda0aa
...
@@ -6,6 +6,22 @@ import xml from "highlight.js/lib/languages/xml";
...
@@ -6,6 +6,22 @@ import xml from "highlight.js/lib/languages/xml";
import
php
from
"
highlight.js/lib/languages/php
"
;
import
php
from
"
highlight.js/lib/languages/php
"
;
import
json
from
"
highlight.js/lib/languages/json
"
;
import
json
from
"
highlight.js/lib/languages/json
"
;
window
.
readyHandlers
=
[];
window
.
ready
=
function
ready
(
handler
)
{
window
.
readyHandlers
.
push
(
handler
);
handleState
();
};
window
.
handleState
=
function
handleState
()
{
if
(
document
.
readyState
===
'
interactive
'
||
document
.
readyState
===
"
complete
"
)
{
while
(
window
.
readyHandlers
.
length
>
0
)
{
(
window
.
readyHandlers
.
shift
())();
}
}
};
document
.
onreadystatechange
=
window
.
handleState
;
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'
#language-selector
'
).
on
(
'
change
'
,
function
()
{
$
(
'
#language-selector
'
).
on
(
'
change
'
,
function
()
{
$
(
"
#language-form
"
).
submit
();
$
(
"
#language-form
"
).
submit
();
...
...
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