Commit 5341ae8b authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update views grid and grid_and_graph to explicit the dependence to plugin_dbui.

parent 18330db8
......@@ -12,6 +12,8 @@
# - Export python variables to javascript
#--------------------------------------------------------------------------
import json
import plugin_dbui
from datetime import datetime
#
......@@ -22,8 +24,8 @@
#
# Convert store and grid configuration as string
#
cfg_grid = json.dumps(grid, cls=dbui.JSONEncoder)
cfg_store = json.dumps(cfg_store, cls=dbui.JSONEncoder)
cfg_grid = json.dumps(grid, cls=plugin_dbui.JSONEncoder)
cfg_store = json.dumps(cfg_store, cls=plugin_dbui.JSONEncoder)
#
# the footer, processing time of the request
......
......@@ -14,6 +14,7 @@
# - Export python variables to javascript
#--------------------------------------------------------------------------
import json
import plugin_dbui
import urllib
from datetime import datetime
......@@ -26,8 +27,8 @@
#
# Convert store and grid configuration as string
#
cfg_grid = json.dumps(grid, cls=dbui.JSONEncoder)
cfg_store = json.dumps(cfg_store, cls=dbui.JSONEncoder)
cfg_grid = json.dumps(grid, cls=plugin_dbui.JSONEncoder)
cfg_store = json.dumps(cfg_store, cls=plugin_dbui.JSONEncoder)
#
# build the url to retrieve the png or pdf image
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment