r96916 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96915‎ | r96916 | r96917 >
Date:21:50, 12 September 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fixed missing js param
Modified paths:
  • /trunk/extensions/Survey/RELEASE-NOTES (modified) (history)
  • /trunk/extensions/Survey/resources/ext.survey.tag.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Survey/RELEASE-NOTES
@@ -5,7 +5,7 @@
66
77
88 === Version 0.1 ===
9 -2011-09-12
 9+2011-09-13
1010
1111 Initial release with these features:
1212
Index: trunk/extensions/Survey/resources/ext.survey.tag.js
@@ -37,7 +37,7 @@
3838 return rand < options.ratio;
3939 }
4040
41 - function initCookieSurvey( options ) {
 41+ function initCookieSurvey( options, $tag ) {
4242 if ( hasCookie( options ) || options.ratio === 1 || winsLottery( options ) ) {
4343 var cookie = getCookie( options );
4444
@@ -80,7 +80,7 @@
8181 }
8282
8383 if ( options.cookie ) {
84 - initCookieSurvey( options );
 84+ initCookieSurvey( options, $tag );
8585 }
8686 else {
8787 $tag.mwSurvey( options );

Status & tagging log