web/data/cubicweb.bookmarks.js
changeset 5658 7b9553a9db65
parent 5655 ef903fff826d
child 5663 d93a875a9d94
--- a/web/data/cubicweb.bookmarks.js	Thu Jun 03 10:17:44 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-CubicWeb.require('ajax.js');
-
-function removeBookmark(beid) {
-    d = asyncRemoteExec('delete_bookmark', beid);
-    d.addCallback(function(boxcontent) {
-	    reloadComponent('bookmarks_box', '', 'boxes', 'bookmarks_box');
-  	document.location.hash = '#header';
- 	updateMessage(_("bookmark has been removed"));
-    });
-}