equal
deleted
inserted
replaced
417 |
417 |
418 function removeBookmark(beid) { |
418 function removeBookmark(beid) { |
419 var d = loadRemote('json', ajaxFuncArgs('delete_bookmark', null, beid)); |
419 var d = loadRemote('json', ajaxFuncArgs('delete_bookmark', null, beid)); |
420 d.addCallback(function(boxcontent) { |
420 d.addCallback(function(boxcontent) { |
421 $('#bookmarks_box').loadxhtml('json', |
421 $('#bookmarks_box').loadxhtml('json', |
422 ajaxFuncArgs('render', null, 'boxes', |
422 ajaxFuncArgs('render', null, 'ctxcomponents', |
423 'bookmarks_box')); |
423 'bookmarks_box')); |
424 document.location.hash = '#header'; |
424 document.location.hash = '#header'; |
425 updateMessage(_("bookmark has been removed")); |
425 updateMessage(_("bookmark has been removed")); |
426 }); |
426 }); |
427 } |
427 } |
631 ); |
631 ); |
632 |
632 |
633 reloadBox = cw.utils.deprecatedFunction( |
633 reloadBox = cw.utils.deprecatedFunction( |
634 '[3.9] reloadBox() is deprecated, use loadxhtml instead', |
634 '[3.9] reloadBox() is deprecated, use loadxhtml instead', |
635 function(boxid, rql) { |
635 function(boxid, rql) { |
636 return reloadComponent(boxid, rql, 'boxes', boxid); |
636 return reloadComponent(boxid, rql, 'ctxcomponents', boxid); |
637 } |
637 } |
638 ); |
638 ); |
639 |
639 |
640 replacePageChunk = cw.utils.deprecatedFunction( |
640 replacePageChunk = cw.utils.deprecatedFunction( |
641 '[3.9] replacePageChunk() is deprecated, use loadxhtml instead', |
641 '[3.9] replacePageChunk() is deprecated, use loadxhtml instead', |