diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-11-06 23:49:59 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-11-06 23:49:59 +0000 |
commit | d5eedf6db07505aee5ba0d644d90522905d22234 (patch) | |
tree | ef6dfcfba460f885f733f1f1079a81f01192940d /logfiles-controller.lua | |
parent | 18de0be3afc61a216ee37ddbbcdbf117eb0379d7 (diff) | |
download | acf-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-controller.lua')
-rw-r--r-- | logfiles-controller.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/logfiles-controller.lua b/logfiles-controller.lua index 72a9b95..a90afec 100644 --- a/logfiles-controller.lua +++ b/logfiles-controller.lua @@ -21,14 +21,9 @@ download = function (self) local filestatus = view(self) local filecontent = filestatus.value.filecontent filecontent.label = posix.basename(filestatus.value.filename.value) - self.conf.viewtype = "stream" - return filecontent end tail = function (self) - if self.clientdata.offset then - self.conf.viewtype = "ajax" - end return self.model.tail(self.clientdata.name, self.clientdata.offset, self.clientdata.grep) end |