web/views/bookmark.py
changeset 8665 e65af61bde7d
parent 8190 2a3c1b787688
child 8748 f5027f8d2478
equal deleted inserted replaced
8664:29652410c317 8665:e65af61bde7d
    22 
    22 
    23 from logilab.mtconverter import xml_escape
    23 from logilab.mtconverter import xml_escape
    24 
    24 
    25 from cubicweb import Unauthorized, typed_eid
    25 from cubicweb import Unauthorized, typed_eid
    26 from cubicweb.predicates import is_instance, one_line_rset
    26 from cubicweb.predicates import is_instance, one_line_rset
    27 from cubicweb.web import (action, component, uicfg, htmlwidgets,
    27 from cubicweb.web import action, component, htmlwidgets, formwidgets as fw
    28                           formwidgets as fw)
    28 from cubicweb.web.views import uicfg, primary
    29 from cubicweb.web.views import primary
       
    30 from cubicweb.web.views.ajaxcontroller import ajaxfunc
    29 from cubicweb.web.views.ajaxcontroller import ajaxfunc
    31 
    30 
    32 _abaa = uicfg.actionbox_appearsin_addmenu
    31 _abaa = uicfg.actionbox_appearsin_addmenu
    33 _abaa.tag_subject_of(('*', 'bookmarked_by', '*'), False)
    32 _abaa.tag_subject_of(('*', 'bookmarked_by', '*'), False)
    34 _abaa.tag_object_of(('*', 'bookmarked_by', '*'), False)
    33 _abaa.tag_object_of(('*', 'bookmarked_by', '*'), False)