diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-10-22 18:50:22 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-10-22 18:50:22 +0000 |
commit | e3f8780934093cbf4618bfa39f69f25920dfb28e (patch) | |
tree | dd814655da1ea2d1418c6a835832e7ca3b071a0d /tinydns-controller.lua | |
parent | 3088e2bc26e85098dccc3aa68373a634bf9abda4 (diff) | |
download | acf-tinydns-e3f8780934093cbf4618bfa39f69f25920dfb28e.tar.bz2 acf-tinydns-e3f8780934093cbf4618bfa39f69f25920dfb28e.tar.xz |
Modified viewfunctions to split displayform, creating displayformstart and displayformend, to provide flexibility while still using the library. Also added support for hidden fields - including a common redir field. Removed redirectOnSuccess from controllerfunctions handle_form, and replaced it with the redir field. Removed redirectOnSuccess from controllers that used it and added handlecommandresults and redir entries to links and forms throughout many views. This will cause a redirect to the originating view when a form is successfully completed. acf_www-controller now includes orig_action in page_info to report the original action launched by the user.
git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1560 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'tinydns-controller.lua')
-rw-r--r-- | tinydns-controller.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinydns-controller.lua b/tinydns-controller.lua index bcaffa4..7155612 100644 --- a/tinydns-controller.lua +++ b/tinydns-controller.lua @@ -23,7 +23,7 @@ end function newfile(self) return controllerfunctions.handle_form(self, self.model.getnewconfigfile, function(value) return self.model.createconfigfile(self, value, sessiondata.userinfo.userid) - end, self.clientdata, "Create", "Create New Config File", "Config File Created", "listfiles") + end, self.clientdata, "Create", "Create New Config File", "Config File Created") end function listfiles(self) |