http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94258
Revision: 94258
Author: ashley
Date: 2011-08-11 17:20:20 +0000 (Thu, 11 Aug 2011)
Log Message:
-----------
SocialProfile: follow-up to r94139: in UserStatus, only show the history when
we want to see it
Modified Paths:
--------------
trunk/extensions/SocialProfile/UserStatus/UserStatus.js
Modified: trunk/extensions/SocialProfile/UserStatus/UserStatus.js
===================================================================
--- trunk/extensions/SocialProfile/UserStatus/UserStatus.js 2011-08-11
17:18:17 UTC (rev 94257)
+++ trunk/extensions/SocialProfile/UserStatus/UserStatus.js 2011-08-11
17:20:20 UTC (rev 94258)
@@ -36,6 +36,10 @@
toEditMode: function() {
jQuery( '#user-status-block' ).hide();
jQuery( '#status-edit-controls' ).show();
+ // If the history div is (still) present, hide it
+ if ( jQuery( '#status-history-block' ) ) {
+ jQuery( '#status-history-block' ).hide();
+ }
},
/**
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs