Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
M4labplatform
Commits
32db1106
Commit
32db1106
authored
Dec 09, 2020
by
Patrick
Browse files
final update History function
parent
babb7a1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
vcm/templates/history.js
View file @
32db1106
...
...
@@ -18,19 +18,19 @@
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
// window.addEventListener("load", function(event) {
var
stateObj
=
{
info
:
"
start01
"
};
history
.
replaceState
(
stateObj
,
"
neuerChronikEintrag
"
,
"
http://
localhost:8083
/
"
);
console
.
log
(
"
start01
"
)
var
stateObj
=
{
info
:
"
start01
"
};
history
.
replaceState
(
stateObj
,
"
neuerChronikEintrag
"
,
"
http
s
://
transfer.hft-stuttgart.de/partizipation/weilimdorf/#
/
"
);
console
.
log
(
"
start01
"
)
// document.body.style.backgroundColor = "yellow";
// });
function
historyP2
(){
var
stateObj
=
{
info
:
"
start02
"
};
history
.
pushState
(
stateObj
,
"
neuerChronikEintrag
"
,
"
http://
localhost:8083
/
"
);
history
.
pushState
(
stateObj
,
"
neuerChronikEintrag
"
,
"
http
s
://
transfer.hft-stuttgart.de/partizipation/weilimdorf/#
/
"
);
console
.
log
(
"
start02
"
)
}
function
historyMap
(){
var
stateObj
=
{
info
:
"
map01
"
};
history
.
pushState
(
stateObj
,
"
neuerChronikEintrag
"
,
"
http://
localhost:8083
/
"
);
history
.
pushState
(
stateObj
,
"
neuerChronikEintrag
"
,
"
http
s
://
transfer.hft-stuttgart.de/partizipation/weilimdorf/#
/
"
);
console
.
log
(
"
map01
"
)
}
// function menu3(){
...
...
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