diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-09-25 19:35:11 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-09-25 19:35:11 +0000 |
commit | 49ba635ba6aa0a3a1d8a45379c11a419994600eb (patch) | |
tree | cd5c09be50d5ccf4d853af6cb120b09a4af8731e | |
parent | d88c24f144d713774addef133323fe41c3e3c612 (diff) | |
download | acf-squid-49ba635ba6aa0a3a1d8a45379c11a419994600eb.tar.bz2 acf-squid-49ba635ba6aa0a3a1d8a45379c11a419994600eb.tar.xz |
Fixed bug in squid digest, saving caused exception.
git-svn-id: svn://svn.alpinelinux.org/acf/squid/trunk@1520 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r-- | squid-config-html.lsp | 8 | ||||
-rw-r--r-- | squid-model.lua | 4 |
2 files changed, 11 insertions, 1 deletions
diff --git a/squid-config-html.lsp b/squid-config-html.lsp index d43f684..5b7ce79 100644 --- a/squid-config-html.lsp +++ b/squid-config-html.lsp @@ -2,9 +2,17 @@ require("viewfunctions") %> +<% if viewlibrary and viewlibrary.dispatch_component then + viewlibrary.dispatch_component("status") +end %> + <H1><%= form.label %></H1> <% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action local order = {"httpports", "accesslog", "diskcache", "authmethod"} displayform(form, order) %> + +<% if viewlibrary and viewlibrary.dispatch_component then + viewlibrary.dispatch_component("startstop") +end %> diff --git a/squid-model.lua b/squid-model.lua index 4d216ff..33cf490 100644 --- a/squid-model.lua +++ b/squid-model.lua @@ -75,7 +75,9 @@ end update_digest_userlist = function( userlistdetails ) userlistdetails.value.filename.value = squiddigestusers - return modelfunctions.updatefiledetails(userlistdetails) + -- FIXME - validate + modelfunctions.setfiledetails(userlistdetails) + return read_digest_userlist() end enable_digest_userlist = function() |