projects
/
brisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a29738b
)
reload() added and restart of image download added
author
Matteo Nastasi (mop)
<nastasi@alternativeoutput.it>
Sun, 1 Feb 2009 15:37:40 +0000
(15:37 +0000)
committer
Matteo Nastasi (mop)
<nastasi@alternativeoutput.it>
Sun, 1 Feb 2009 15:37:40 +0000
(15:37 +0000)
web/commons.js
patch
|
blob
|
history
diff --git
a/web/commons.js
b/web/commons.js
index
d016faf
..
9d96a72
100644
(file)
--- a/
web/commons.js
+++ b/
web/commons.js
@@
-164,22
+164,26
@@
function rnd_int(min, max) {
function error_images()
{
function error_images()
{
- alert("GHESEMU!");
+ // alert("GHESEMU!");
+ setTimeout(preload_images, 2000, g_preload_img_arr, g_imgct-1);
}
function abort_images()
{
}
function abort_images()
{
- alert("ABORTAIMAGES");
+ // alert("ABORTAIMAGES");
+ setTimeout(preload_images, 2000, g_preload_img_arr, g_imgct-1);
}
function unload_images()
{
}
function unload_images()
{
- alert("ABORTAIMAGES");
+ // alert("ABORTAIMAGES");
+ setTimeout(preload_images, 2000, g_preload_img_arr, g_imgct-1);
}
function reset_images()
{
}
function reset_images()
{
- alert("ABORTAIMAGES");
+ // alert("ABORTAIMAGES");
+ setTimeout(preload_images, 2000, g_preload_img_arr, g_imgct-1);
}
function update_images()
}
function update_images()
@@
-405,6
+409,13
@@
function act_reload()
document.location.reload();
}
document.location.reload();
}
+function act_reloadroom()
+{
+ window.onunload = null;
+ window.onbeforeunload = null;
+ document.location.assign("index.php");
+}
+
function act_shutdown()
{
var c = 0;
function act_shutdown()
{
var c = 0;