Commit ef724ac0 authored by Denis Laxalde's avatar Denis Laxalde

Use new-style name for cubicweb-relationwidget

This is especially important for the JS file.
parent 91418e16aa61
......@@ -23,7 +23,7 @@ from cubicweb.predicates import is_instance
from cubicweb.web import formwidgets as fw
from cubicweb.web.views import tabs, uicfg, reledit
from cubes.relationwidget import views as rwdg
from cubicweb_relationwidget import views as rwdg
from ..xsd2yams import RULE_TYPES
from ..entities import full_seda2_profile, simplified_profile, parent_and_container
......
......@@ -27,7 +27,7 @@ from cubicweb.view import EntityView
from cubicweb.web.views import autoform, baseviews, tabs, uicfg
from cubicweb_compound import views as compound
from cubes.relationwidget import views as rwdg
from cubicweb_relationwidget import views as rwdg
from ..xsd import un_camel_case
from ..entities import (is_full_seda2_profile, full_seda2_profile,
......
......@@ -22,7 +22,7 @@ from cubicweb.web.views import uicfg
from cubicweb_compound.entities import copy_entity
from cubicweb_compound import views as compound
from cubes.relationwidget import views as rwdg
from cubicweb_relationwidget import views as rwdg
from .widgets import configure_relation_widget
......
......@@ -25,7 +25,7 @@ from cubicweb import tags, view, _
from cubicweb.predicates import match_form_params, is_instance
from cubicweb.web.views import uicfg, tabs, ibreadcrumbs
from cubes.relationwidget import views as rwdg
from cubicweb_relationwidget import views as rwdg
from cubicweb_skos.views import widgets as skos
from ..xsd2yams import SCHEME_FROM_CONTAINER
......
......@@ -24,7 +24,7 @@ from cubicweb.uilib import js
from cubicweb.web import formfields as ff, formwidgets as fw
from cubicweb.web.views import ajaxcontroller, autoform, formrenderers
from cubes.relationwidget import views as rwdg
from cubicweb_relationwidget import views as rwdg
# deactivate relation widget's creation form by default, it causes some js error if e.g. there are
......@@ -44,7 +44,7 @@ def configure_relation_widget(req, div, search_url, title, multiple, validate):
'cubicweb.ajax.js',
'cubicweb.widgets.js',
'cubicweb.facets.js',
'cubes.relationwidget.js',
'cubicweb_relationwidget.js',
'cubes.editionext.js'))
return 'javascript: %s' % js.editext.relateWidget(div, search_url, title, multiple,
utils.JSString(validate))
......
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