Index: trunk/extensions/MoodBar/MoodBar.i18n.php |
— | — | @@ -142,8 +142,6 @@ |
143 | 143 | 'response-ajax-success-body' => 'Your response has been added.', |
144 | 144 | 'response-ajax-error-head' => 'Oops!', |
145 | 145 | 'response-ajax-error-body' => 'There was an error adding your response. <br />Please try again later.', |
146 | | - |
147 | | - |
148 | 146 | ); |
149 | 147 | |
150 | 148 | /** Message documentation (Message documentation) |
Index: trunk/extensions/MoodBar/modules/ext.moodBar.dashboard/ext.moodBar.dashboard.js |
— | — | @@ -504,7 +504,7 @@ |
505 | 505 | * Require at least 1 character and limit to 5000 |
506 | 506 | */ |
507 | 507 | function validateResponse($item) { |
508 | | - var response = $item.find('.fbd-response-text').val(); |
| 508 | + var response = $.trim( $item.find('.fbd-response-text').val() ); |
509 | 509 | if( response.length > 0 && response.length <= 5000 ) { |
510 | 510 | $item.find( '.fbd-response-submit, .fbd-response-preview').removeAttr('disabled'); |
511 | 511 | } else { |
Index: trunk/extensions/MoodBar/MoodBar.php |
— | — | @@ -208,9 +208,9 @@ |
209 | 209 | array( |
210 | 210 | 'buckets' => |
211 | 211 | array( |
212 | | - 'feedback' => 80, |
213 | | - 'share' => 10, |
214 | | - 'editing' => 10, |
| 212 | + 'feedback' => 100, |
| 213 | + 'share' => 0, //disabled |
| 214 | + 'editing' => 0, //disabled |
215 | 215 | ), |
216 | 216 | 'version' => 3, |
217 | 217 | 'expires' => 30, |