r105050 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105049‎ | r105050 | r105051 >
Date:03:39, 3 December 2011
Author:gregchiasson
Status:deferred
Tags:
Comment:
AFTv5, only without a feedback link on object 5.
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.js
@@ -2050,9 +2050,15 @@
20512051 // Set up the tooltip for the panel version
20522052 $wrapper.find( '.articleFeedbackv5-title-wrap' ).append( $.articleFeedbackv5.templates.helpToolTip );
20532053 $wrapper.find( '.articleFeedbackv5-tooltip' ).hide();
2054 - $wrapper.find( '.articleFeedbackv5-tooltip-trigger' ).click( function () {
2055 - $.articleFeedbackv5.$holder.find( '.articleFeedbackv5-tooltip' ).toggle();
2056 - } );
 2054+
 2055+ if( $.articleFeedbackv5.bucketId == 5 ) {
 2056+ $wrapper.find( '.articleFeedbackv5-tooltip-trigger' ).hide();
 2057+ } else {
 2058+ $wrapper.find( '.articleFeedbackv5-tooltip-trigger' ).click( function () {
 2059+ $.articleFeedbackv5.$holder.find( '.articleFeedbackv5-tooltip' ).toggle();
 2060+ } );
 2061+ }
 2062+
20572063 $wrapper.find( '.articleFeedbackv5-tooltip-close' ).click( function () {
20582064 $.articleFeedbackv5.$holder.find( '.articleFeedbackv5-tooltip' ).toggle();
20592065 } );

Status & tagging log