fix interface_selector bug
If a view using this selector defines an `accepts` attribute, the
view should be selectable only if the entity is of one of the
accepted types (+need to consider schema inheritance)
CubicWeb.require('ajax.js');
function removeBookmark(beid) {
d = async_remote_exec('delete_bookmark', beid);
d.addCallback(function(boxcontent) {
reloadComponent('bookmarks_box', '', 'boxes', 'bookmarks_box');
document.location.hash = '#header';
updateMessage(_("bookmark has been removed"));
});
}