equal
deleted
inserted
replaced
140 .. sourcecode:: javascript |
140 .. sourcecode:: javascript |
141 |
141 |
142 function removeBookmark(beid) { |
142 function removeBookmark(beid) { |
143 d = asyncRemoteExec('delete_bookmark', beid); |
143 d = asyncRemoteExec('delete_bookmark', beid); |
144 d.addCallback(function(boxcontent) { |
144 d.addCallback(function(boxcontent) { |
145 reloadComponent('bookmarks_box', '', 'boxes', 'bookmarks_box'); |
145 reloadComponent('bookmarks_box', '', 'boxes', 'bookmarks_box'); |
146 document.location.hash = '#header'; |
146 document.location.hash = '#header'; |
147 updateMessage(_("bookmark has been removed")); |
147 updateMessage(_("bookmark has been removed")); |
148 }); |
148 }); |
149 } |
149 } |
150 |
150 |