Index: trunk/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js |
— | — | @@ -33,9 +33,11 @@ |
34 | 34 | <button class="articleFeedback-submit articleFeedback-visibleWith-form" type="submit" disabled><html:msg key="form-panel-submit" /></button>\ |
35 | 35 | <div class="articleFeedback-success articleFeedback-visibleWith-form"><span><html:msg key="form-panel-success" /></span></div>\ |
36 | 36 | <div style="clear:both;"></div>\ |
37 | | - <div class="articleFeedback-expiry articleFeedback-visibleWith-form">\ |
38 | | - <div class="articleFeedback-expiry-title"><html:msg key="form-panel-expiry-title" /></div>\ |
39 | | - <div class="articleFeedback-expiry-message"><html:msg key="form-panel-expiry-message" /></div>\ |
| 37 | + <div class="articleFeedback-notices articleFeedback-visibleWith-form">\ |
| 38 | + <div class="articleFeedback-expiry">\ |
| 39 | + <div class="articleFeedback-expiry-title"><html:msg key="form-panel-expiry-title" /></div>\ |
| 40 | + <div class="articleFeedback-expiry-message"><html:msg key="form-panel-expiry-message" /></div>\ |
| 41 | + </div>\ |
40 | 42 | </div>\ |
41 | 43 | </div>\ |
42 | 44 | <div class="articleFeedback-error"><div class="articleFeedback-error-message"><html:msg key="error" /></div></div>\ |
— | — | @@ -602,7 +604,7 @@ |
603 | 605 | var context = $(this).data( 'articleFeedback-context' ); |
604 | 606 | if ( !context ) { |
605 | 607 | // Create context |
606 | | - context = { '$ui': $(this), 'options': { 'ratings': {}, 'pitches': {}, 'bucket': 0 } }; |
| 608 | + context = { '$ui': $(this), 'options': { 'ratings': {}, 'pitches': {}, 'bucket': 1 } }; |
607 | 609 | // Allow customization through an options argument |
608 | 610 | if ( typeof args[0] === 'object' ) { |
609 | 611 | context = $.extend( true, context, { 'options': args[0] } ); |