web/views/embedding.py
branch3.0
changeset 431 18b4dd650ef8
parent 254 b1eda3dd844a
child 631 99f5852f8604
--- a/web/views/embedding.py	Thu Jan 15 13:27:17 2009 +0100
+++ b/web/views/embedding.py	Thu Jan 15 13:27:33 2009 +0100
@@ -18,7 +18,7 @@
 from cubicweb.interfaces import IEmbedable
 from cubicweb.common.uilib import soup2xhtml
 from cubicweb.common.selectors import (one_line_rset, score_entity_selector,
-                                    match_search_state, interface_selector)
+                                    match_search_state, implement_interface)
 from cubicweb.common.view import NOINDEX, NOFOLLOW
 from cubicweb.web.controller import Controller
 from cubicweb.web.action import Action
@@ -82,7 +82,7 @@
     id = 'embed'
     controller = 'embed'
     __selectors__ = (one_line_rset, match_search_state,
-                     interface_selector, score_entity_selector)
+                     implement_interface, score_entity_selector)
     accepts_interfaces = (IEmbedable,)
     
     title = _('embed')