mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-17 19:12:07 -05:00
Upload files to "waflash/alt"
This commit is contained in:
parent
f5a0a0b81c
commit
0ef123878c
40
waflash/alt/api
Normal file
40
waflash/alt/api
Normal file
@ -0,0 +1,40 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
var openWindow, source, origin;
|
||||
|
||||
function handleMessage(event) {
|
||||
var entryId = event.data;
|
||||
if (entryId === parseInt(entryId, 10)) {
|
||||
editEntry(entryId);
|
||||
source = event.source;
|
||||
origin = event.origin;
|
||||
}
|
||||
}
|
||||
|
||||
function editEntry(entryId) {
|
||||
if (openWindow) {
|
||||
openWindow.close();
|
||||
}
|
||||
openWindow = window.open("/manage/post/" + entryId + "?popupEditor&returnURL=CLOSEME", "tatter", "width="+1169+",height="+600+",location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0");
|
||||
openWindow.focus();
|
||||
}
|
||||
|
||||
function reloadPost() {
|
||||
if (source && origin) {
|
||||
source.postMessage('reload', origin)
|
||||
}
|
||||
}
|
||||
|
||||
if (document.addEventListener){
|
||||
window.addEventListener("message", handleMessage, false);
|
||||
} else {
|
||||
window.attachEvent('onmessage', handleMessage);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
2397
waflash/alt/index.html
Normal file
2397
waflash/alt/index.html
Normal file
File diff suppressed because it is too large
Load Diff
1
waflash/alt/readme.md
Normal file
1
waflash/alt/readme.md
Normal file
@ -0,0 +1 @@
|
||||
alt
|
Loading…
x
Reference in New Issue
Block a user