r55978 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55977‎ | r55978 | r55979 >
Date:15:40, 7 September 2009
Author:jojo
Status:deferred
Tags:
Comment:
fix: update book creator box on clear book
Modified paths:
  • /trunk/extensions/Collection/js/collection.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/js/collection.js
@@ -83,7 +83,12 @@
8484 sajax_request_type = "POST";
8585 sajax_do_call('wfAjaxCollectionClear',
8686 [],
87 - refresh_list);
 87+ function(xhr) {
 88+ refresh_list(xhr);
 89+ sajax_do_call('wfAjaxCollectionGetBookCreatorBoxContent', ['showbook', null], function(xhr2) {
 90+ jQuery('#coll-book_creator_box').html(xhr2.responseText);
 91+ });
 92+ });
8893 }
8994 return false;
9095 }

Status & tagging log