Commit cec9a21b authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update ui_harvester to reconnect the harvester wizard to its controller (missing url).

parent 1f0bed38
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
"""User Interface for the harvester tables """User Interface for the harvester tables
""" """
from gluon import current
from plugin_dbui import (FieldsModifier, from plugin_dbui import (FieldsModifier,
FormModifier, FormModifier,
GridModifier, GridModifier,
...@@ -147,8 +148,11 @@ class HarvesterUI(object): ...@@ -147,8 +148,11 @@ class HarvesterUI(object):
mdf.configure_filters(plugins=["pFormToolTip"], width=300) mdf.configure_filters(plugins=["pFormToolTip"], width=300)
mdf.configure_gridWithFilter(selectorTitle=T("Filter")) mdf.configure_gridWithFilter(selectorTitle=T("Filter"))
mdf.configure(plugins=[{"ptype": "pGridRowEditorAddWizard", mdf.configure(plugins=[{
"wizard": {"xtype": "xwizardharvester"}}]) "ptype": "pGridRowEditorAddWizard",
"wizard": {
"url": "/%s/wizards/harvester" % current.request.application,
"xtype": "xwizardharvester"}}])
# .................................................................... # ....................................................................
# #
......
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