projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move restart of iframe/htmlfile based stream from iframe onload callback to postproc...
[brisk.git]
/
web
/
Obj
/
transports.phh
diff --git
a/web/Obj/transports.phh
b/web/Obj/transports.phh
index
92f11b4
..
3de2197
100644
(file)
--- a/
web/Obj/transports.phh
+++ b/
web/Obj/transports.phh
@@
-47,7
+47,7
@@
class Transport_xhr {
function init($enc, &$header_out, $init_string, $base, $step)
{
function init($enc, &$header_out, $init_string, $base, $step)
{
- $ret =
$init_string
;
+ $ret =
sprintf("@BEGIN@ /* %s */ @END@", $init_string)
;
if ($enc != 'plain')
$header_out['Content-Encoding'] = $enc;
$header_out['Cache-Control'] = 'no-cache, must-revalidate'; // HTTP/1.1
if ($enc != 'plain')
$header_out['Content-Encoding'] = $enc;
$header_out['Cache-Control'] = 'no-cache, must-revalidate'; // HTTP/1.1
@@
-92,7
+92,7
@@
var xynt_streaming = \"ready\";", $base, $base);
if ($step > 0)
$ret .= sprintf("last_clean = %d;\n", ($step-1));
$ret .= sprintf("
if ($step > 0)
$ret .= sprintf("last_clean = %d;\n", ($step-1));
$ret .= sprintf("
-window.onload = function () { if (xynt_streaming != \"ready\") { xynt_streaming.
reload()
; } };
+window.onload = function () { if (xynt_streaming != \"ready\") { xynt_streaming.
transp.stopped = true
; } };
</script>
</head>
<body>");
</script>
</head>
<body>");