summaryrefslogtreecommitdiffstats
path: root/logfiles-tail-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-11-06 23:49:59 +0000
committerTed Trask <ttrask01@yahoo.com>2012-11-06 23:49:59 +0000
commitd5eedf6db07505aee5ba0d644d90522905d22234 (patch)
treeef6dfcfba460f885f733f1f1079a81f01192940d /logfiles-tail-html.lsp
parent18de0be3afc61a216ee37ddbbcdbf117eb0379d7 (diff)
downloadacf-alpine-baselayout-d5eedf6db07505aee5ba0d644d90522905d22234.tar.bz2
acf-alpine-baselayout-d5eedf6db07505aee5ba0d644d90522905d22234.tar.xz
Changed viewtype ajax to json as per acf-core-0.15.3, and moved viewtype stream out of controller
Diffstat (limited to 'logfiles-tail-html.lsp')
-rw-r--r--logfiles-tail-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logfiles-tail-html.lsp b/logfiles-tail-html.lsp
index ca7a9d7..c480b0b 100644
--- a/logfiles-tail-html.lsp
+++ b/logfiles-tail-html.lsp
@@ -10,7 +10,7 @@
$.ajaxSetup({cache:false});
$.getJSON(
'<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action) %>',
- {name:'<% io.write(html.html_escape(form.value.filename.value)) if form.value.grep.value ~= "" then io.write("',grep:'"..html.html_escape(form.value.grep.value)) end %>', offset:currentoffset},
+ {name:'<% io.write(html.html_escape(form.value.filename.value)) if form.value.grep.value ~= "" then io.write("',grep:'"..html.html_escape(form.value.grep.value)) end %>', offset:currentoffset, viewtype:'json'},
function(data) {
if (currentoffset != data.value.filesize.value){