diff options
author | Ted Trask <ttrask01@yahoo.com> | 2016-08-10 16:08:22 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2016-08-10 16:08:22 +0000 |
commit | 12d3537a7cb975b0a75698f1e1f90e66313a6893 (patch) | |
tree | f16f1452d0da2174ca751613b8281532324d80ca /provisioning-listdevices-html.lsp | |
parent | 74712ccf2dbd80ed950fb53f22a7ddc96d8f36ef (diff) | |
download | acf-provisioning-12d3537a7cb975b0a75698f1e1f90e66313a6893.tar.bz2 acf-provisioning-12d3537a7cb975b0a75698f1e1f90e66313a6893.tar.xz |
Remove trailing whitespace
Diffstat (limited to 'provisioning-listdevices-html.lsp')
-rw-r--r-- | provisioning-listdevices-html.lsp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/provisioning-listdevices-html.lsp b/provisioning-listdevices-html.lsp index 79c2b32..2c12e99 100644 --- a/provisioning-listdevices-html.lsp +++ b/provisioning-listdevices-html.lsp @@ -1,4 +1,4 @@ -<% local view, viewlibrary, page_info, session = ... +<% local view, viewlibrary, page_info, session = ... htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> @@ -66,10 +66,10 @@ end $("#list").tablesorter({headers: {0:{sorter: false}}, widgets: ['zebra', 'filter', 'pager'], widgetOptions: { // Filtering is handled by the server filter_serversideFiltering: true, - + // We can put the page number and size here, filtering and sorting handled by pager_customAjaxUrl pager_ajaxUrl : '<%= html.html_escape(page_info.script .. page_info.orig_action) %>?viewtype=json&page={page+1}&pagesize={size}', - + // Modify the url after all processing has been applied to handle filtering and sorting pager_customAjaxUrl: function(table, url) { var columns = ["action", "<%= table.concat(columns, '", "') %>"]; @@ -88,7 +88,7 @@ end } return url; }, - + // process ajax so that the following information is returned: // [ total_rows (number), rows (array of arrays), headers (array; optional) ] pager_ajaxProcessing: function(data){ @@ -125,7 +125,7 @@ end <% for i,g in ipairs(view.value.groups.value) do %> <th><%= html.html_escape(g.label) %></th> <% end %> - </tr> + </tr> </thead><tbody> </tbody> </table> |