From 6a25f6d50ad8a0484d2397eb9fd368dcb1ad8d70 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 31 Mar 2014 00:05:00 +0000 Subject: Change prototype of htmlviewfunctions.dislay item to make consistent Note: this breaks backward compatibility --- lua/mvc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/mvc.lua') diff --git a/lua/mvc.lua b/lua/mvc.lua index 31846ab..8735942 100755 --- a/lua/mvc.lua +++ b/lua/mvc.lua @@ -341,7 +341,7 @@ end mymodule.auto_view = function(viewtable, viewlibrary, pageinfo, session) if pageinfo.viewtype == "html" then local htmlviewfunctions = require("htmlviewfunctions") - htmlviewfunctions.displayitem(viewtable, 1, pageinfo) + htmlviewfunctions.displayitem(viewtable, pageinfo) elseif pageinfo.viewtype == "json" then local json = require("json") print(json.encode(viewtable)) -- cgit v1.2.3