diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-11-06 17:11:41 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-11-06 17:11:41 +0000 |
commit | 2e726d532bf7fe8b1e4f5f3912db32f5f0ba6c32 (patch) | |
tree | 486b0f135a0ae47d1c0cd23b9c2c8c8700644614 /lua/mvc.lua | |
parent | 75a7e7783b59b41832fd0610e593b9adbd4aaf36 (diff) | |
download | acf-core-2e726d532bf7fe8b1e4f5f3912db32f5f0ba6c32.tar.bz2 acf-core-2e726d532bf7fe8b1e4f5f3912db32f5f0ba6c32.tar.xz |
Rename ajax viewtype to json to be more accurate
Diffstat (limited to 'lua/mvc.lua')
-rwxr-xr-x | lua/mvc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/mvc.lua b/lua/mvc.lua index 3c7ec54..5524c5b 100755 --- a/lua/mvc.lua +++ b/lua/mvc.lua @@ -345,7 +345,7 @@ auto_view = function(viewtable, viewlibrary, pageinfo, session) if pageinfo.viewtype == "html" then require("htmlviewfunctions") htmlviewfunctions.displayitem(viewtable, 1, pageinfo) - elseif pageinfo.viewtype == "ajax" then + elseif pageinfo.viewtype == "json" then require("json") print(json.encode(viewtable)) elseif pageinfo.viewtype == "stream" then |