Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.js |
— | — | @@ -707,8 +707,8 @@ |
708 | 708 | */ |
709 | 709 | getFormData: function () { |
710 | 710 | var data = {}; |
711 | | - data.tag = $.articleFeedbackv5.$holder.find( '.articleFeedbackv5-tags input[checked]' ).val(); |
712 | | - data.comment = $.articleFeedbackv5.$holder.find( '.articleFeedbackv5-comment textarea' ).val(); |
| 711 | + data.tag = $.articleFeedbackv5.find( '.articleFeedbackv5-tags input[checked]' ).val(); |
| 712 | + data.comment = $.articleFeedbackv5.find( '.articleFeedbackv5-comment textarea' ).val(); |
713 | 713 | for ( t in $.articleFeedbackv5.currentBucket().commentDefault ) { |
714 | 714 | if ( data.comment == $.articleFeedbackv5.currentBucket().commentDefault[t] ) { |
715 | 715 | data.comment = ''; |
— | — | @@ -998,8 +998,8 @@ |
999 | 999 | */ |
1000 | 1000 | getFormData: function () { |
1001 | 1001 | var data = {}; |
1002 | | - data.rating = $.articleFeedbackv5.$holder.find( '.articleFeedbackv5-rating input:hidden' ).val(); |
1003 | | - data.comment = $.articleFeedbackv5.$holder.find( '.articleFeedbackv5-comment textarea' ).val(); |
| 1002 | + data.rating = $.articleFeedbackv5.find( '.articleFeedbackv5-rating input:hidden' ).val(); |
| 1003 | + data.comment = $.articleFeedbackv5.find( '.articleFeedbackv5-comment textarea' ).val(); |
1004 | 1004 | if ( data.comment == mw.msg( 'articlefeedbackv5-bucket3-comment-default' ) ) { |
1005 | 1005 | data.comment = ''; |
1006 | 1006 | } |
— | — | @@ -1374,7 +1374,7 @@ |
1375 | 1375 | // Slide-down for the expertise checkboxes |
1376 | 1376 | $block.find( '.articleFeedbackv5-expertise > input:checkbox' ) |
1377 | 1377 | .change( function () { |
1378 | | - var $options = $.articleFeedbackv5.$holder.find( '.articleFeedbackv5-expertise-options' ); |
| 1378 | + var $options = $.articleFeedbackv5.find( '.articleFeedbackv5-expertise-options' ); |
1379 | 1379 | if ( $(this).is( ':checked' ) ) { |
1380 | 1380 | $options.slideDown( 'fast' ); |
1381 | 1381 | } else { |
— | — | @@ -1453,7 +1453,7 @@ |
1454 | 1454 | }); |
1455 | 1455 | rlabel.mousedown( function () { |
1456 | 1456 | $.articleFeedbackv5.enableSubmission( true ); |
1457 | | - var $ui = $.articleFeedbackv5.find( 'articleFeedbackv5-ui' ); |
| 1457 | + var $ui = $.articleFeedbackv5.find( '.articleFeedbackv5-ui' ); |
1458 | 1458 | if ( $ui.hasClass( 'articleFeedbackv5-expired' ) ) { |
1459 | 1459 | // Changing one means the rest will get submitted too |
1460 | 1460 | $ui.removeClass( 'articleFeedbackv5-expired' ); |