diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-11-25 01:34:33 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-11-25 01:34:33 +0000 |
commit | f7c8460b69a73c64bed52355cb2bc4ad1f9105ad (patch) | |
tree | a22f19def50a285dfa8be962fc21df6288466ede | |
parent | ed1e68285cc458e507e44eab8fd77a615907798b (diff) | |
download | acf-alpine-conf-f7c8460b69a73c64bed52355cb2bc4ad1f9105ad.tar.bz2 acf-alpine-conf-f7c8460b69a73c64bed52355cb2bc4ad1f9105ad.tar.xz |
Cleanup use of viewtype
-rw-r--r-- | lbu-controller.lua | 1 | ||||
-rw-r--r-- | lbu-listchanges-html.lsp | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/lbu-controller.lua b/lbu-controller.lua index 124a9d5..d52b5dd 100644 --- a/lbu-controller.lua +++ b/lbu-controller.lua @@ -43,6 +43,5 @@ function selectbackup(self) end function getpackage(self) - self.conf.viewtype = "stream" return self.model.getpackage() end diff --git a/lbu-listchanges-html.lsp b/lbu-listchanges-html.lsp index f563234..e15a9a0 100644 --- a/lbu-listchanges-html.lsp +++ b/lbu-listchanges-html.lsp @@ -17,6 +17,7 @@ html = require("acf.html") <DL> <DT>Generate and download overlay</DT> <DD><form action="<%= html.html_escape(page_info.script .. page_info.prefix) %>lbu/getpackage" method="POST"> + <input type="hidden" name="viewtype" value="stream"> <input class="submit" type="submit" name="submit" value="Download"></form></DD> </DL> <% end %> |