Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.js |
— | — | @@ -631,6 +631,7 @@ |
632 | 632 | // Attach the submit |
633 | 633 | $block.find( '.articleFeedbackv5-submit' ) |
634 | 634 | .click( function ( e ) { |
| 635 | + console.log( 'got to click event' ); |
635 | 636 | e.preventDefault(); |
636 | 637 | $.articleFeedbackv5.submitForm(); |
637 | 638 | } ); |
— | — | @@ -2028,9 +2029,9 @@ |
2029 | 2030 | */ |
2030 | 2031 | $.articleFeedbackv5.enableSubmission = function ( state ) { |
2031 | 2032 | if ( state ) { |
2032 | | - $.articleFeedbackv5.find( '.articleFeedbackv5-submit' ).button( { 'disabled': false } ); |
| 2033 | + $.articleFeedbackv5.find( '.articleFeedbackv5-submit' ).button( 'enable' ); |
2033 | 2034 | } else { |
2034 | | - $.articleFeedbackv5.find( '.articleFeedbackv5-submit' ).button( { 'disabled': true } ); |
| 2035 | + $.articleFeedbackv5.find( '.articleFeedbackv5-submit' ).button( 'disable' ); |
2035 | 2036 | } |
2036 | 2037 | var bucket = $.articleFeedbackv5.currentBucket(); |
2037 | 2038 | if ( 'enableSubmission' in bucket ) { |