equal
deleted
inserted
replaced
509 function removeBookmark(beid) { |
509 function removeBookmark(beid) { |
510 var d = loadRemote(AJAX_BASE_URL, ajaxFuncArgs('delete_bookmark', null, beid)); |
510 var d = loadRemote(AJAX_BASE_URL, ajaxFuncArgs('delete_bookmark', null, beid)); |
511 d.addCallback(function(boxcontent) { |
511 d.addCallback(function(boxcontent) { |
512 $('#bookmarks_box').loadxhtml(AJAX_BASE_URL, |
512 $('#bookmarks_box').loadxhtml(AJAX_BASE_URL, |
513 ajaxFuncArgs('render', null, 'ctxcomponents', |
513 ajaxFuncArgs('render', null, 'ctxcomponents', |
514 'bookmarks_box')); |
514 'bookmarks_box'), |
|
515 null, 'swap'); |
515 document.location.hash = '#header'; |
516 document.location.hash = '#header'; |
516 updateMessage(_("bookmark has been removed")); |
517 updateMessage(_("bookmark has been removed")); |
517 }); |
518 }); |
518 } |
519 } |
519 |
520 |