diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-06-30 18:59:29 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-06-30 18:59:29 +0000 |
commit | 07e7024ab0b09351ede7782321c88824d06596e5 (patch) | |
tree | 28ec14a285c01124c78bd4e1613ce4afea18fbf7 /kamailio-viewtable-html.lsp | |
parent | d476c52adca9c1a2550b60cc49c4670cf3e800bd (diff) | |
download | acf-kamailio-07e7024ab0b09351ede7782321c88824d06596e5.tar.bz2 acf-kamailio-07e7024ab0b09351ede7782321c88824d06596e5.tar.xz |
Temporary workaround to make viewtable show the previously selected table if none specified
Diffstat (limited to 'kamailio-viewtable-html.lsp')
-rw-r--r-- | kamailio-viewtable-html.lsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamailio-viewtable-html.lsp b/kamailio-viewtable-html.lsp index 2ee1140..0d08ec5 100644 --- a/kamailio-viewtable-html.lsp +++ b/kamailio-viewtable-html.lsp @@ -25,7 +25,7 @@ <% htmlviewfunctions.displaycommandresults({"createtableentry"}, session, true) %> <% local header_level = htmlviewfunctions.displaysectionstart(form, page_info) %> -<% htmlviewfunctions.displayformitem(form.value.table) %> +<% htmlviewfunctions.displayitem(form.value.table) %> <table id="list" class="tablesorter"><thead> <tr> <% if viewlibrary.check_permission("deletetableentry") or viewlibrary.check_permission("updatetableentry") then %> @@ -36,7 +36,7 @@ <% end %> </tr> </thead><tbody> -<% local redir = cfe({ type="hidden", value=page_info.orig_action.."?table="..form.value.table.value }) %> +<% local redir = cfe({ type="hidden", value=page_info.orig_action }) %> <% local table = cfe({ type="hidden", value=form.value.table.value }) %> <% local id = cfe({ type="hidden" }) %> <% for i,tableentry in ipairs(form.value.entries.value) do %> |