main template refactoring
there are 2 main templates :
- one for non templatable views (xml, binaries, etc.)
- one for the other views
The right one is chosen according to its selectors
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"));
});
}