diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | asterisk-listfiles-html.lsp | 10 | ||||
-rw-r--r-- | asterisk-model.lua | 2 |
3 files changed, 7 insertions, 7 deletions
@@ -8,7 +8,7 @@ APP_DIST=\ EXTRA_DIST=README Makefile config.mk -DISTFILES=$(APP_DIST) $(EXTRA_DIST) +DISTFILES=$(APP_DIST) $(EXTRA_DIST) TAR=tar diff --git a/asterisk-listfiles-html.lsp b/asterisk-listfiles-html.lsp index 087ad56..cb43983 100644 --- a/asterisk-listfiles-html.lsp +++ b/asterisk-listfiles-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") %> @@ -8,13 +8,13 @@ html = require("acf.html") document.write('<script type="text/javascript" src="<%= html.html_escape(page_info.wwwprefix) %>/js/jquery-latest.js"><\/script>'); } </script> - + <script type="text/javascript"> if (typeof $.tablesorter == 'undefined') { document.write('<script type="text/javascript" src="<%= html.html_escape(page_info.wwwprefix) %>/js/jquery.tablesorter.js"><\/script>'); } </script> - + <script type="text/javascript"> $(document).ready(function() { $("#list").tablesorter({headers: {0:{sorter: false}}, widgets: ['zebra']}); @@ -24,7 +24,7 @@ html = require("acf.html") <% htmlviewfunctions.displaycommandresults({"edit"}, session) %> -<% if viewlibrary and viewlibrary.dispatch_component then +<% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("status") end %> @@ -35,7 +35,7 @@ end %> <th>File</th> <th>Size</th> <th>Last Modified</th> - </tr> + </tr> </thead><tbody> <% local filename = cfe({ type="hidden", value="" }) %> <% local redir = cfe({ type="hidden", value=page_info.orig_action }) %> diff --git a/asterisk-model.lua b/asterisk-model.lua index 6f37fe7..4ae839e 100644 --- a/asterisk-model.lua +++ b/asterisk-model.lua @@ -29,7 +29,7 @@ mymodule.get_status = function() end mymodule.get_startstop = function(self, clientdata) - return modelfunctions.get_startstop(processname) + return modelfunctions.get_startstop(processname) end mymodule.startstop_service = function(self, startstop, action) |