aboutsummaryrefslogtreecommitdiffstats
path: root/lib/LXRng/Web.pm
diff options
context:
space:
mode:
authorArne Georg Gleditsch <argggh@lxr.linpro.no>2008-08-21 21:38:00 +0200
committerArne Georg Gleditsch <argggh@lxr.linpro.no>2008-08-21 21:38:00 +0200
commit52cab08b9bb06bcc822b4e8d99455e693b8b64ae (patch)
treea6fc75d2c5f18b98213e4d126c9aab7a73110fa8 /lib/LXRng/Web.pm
parent17034adefacae12d6522eecc4a9e1f6ad04430fc (diff)
parent7ee74cd1dd28ee902582e71cf8d3ebddd06c0599 (diff)
Merge branch 'master' of /home/argggh/git/lxrng/
Diffstat (limited to 'lib/LXRng/Web.pm')
-rw-r--r--lib/LXRng/Web.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/LXRng/Web.pm b/lib/LXRng/Web.pm
index c9acc71..df2422e 100644
--- a/lib/LXRng/Web.pm
+++ b/lib/LXRng/Web.pm
@@ -125,6 +125,11 @@ sub print_markedup_file {
mkpath($cfile, 0, 0777);
open($cache, '>', "$cfile/0");
}
+ else {
+ # Don't chunk file transfers unless cache is enabled.
+ $focus = 1;
+ }
+
my $handle = $node->handle();
LXRng::Lang->init($context);
my $lang = LXRng::Lang->new($node);