From df5ad37e297ffe69ec20c9aec332f81ef7e7e6fa Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 10 Aug 2016 16:08:22 +0000 Subject: Remove trailing whitespace (cherry picked from commit 12d3537a7cb975b0a75698f1e1f90e66313a6893) --- provisioning-listdevices-html.lsp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'provisioning-listdevices-html.lsp') 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 %> <%= html.html_escape(g.label) %> <% end %> - + -- cgit v1.2.3