Index: trunk/extensions/UploadWizard/resources/mw.UploadWizard.js |
— | — | @@ -1331,11 +1331,7 @@ |
1332 | 1332 | * outside of that library. So we are going to just look for any visible inputs in an error state. |
1333 | 1333 | */ |
1334 | 1334 | detailsErrorCount: function() { |
1335 | | - var errorCount = |
1336 | | - $( '#mwe-upwiz-stepdiv-details' ).find( 'input.mwe-error' ).length |
1337 | | - + $( '#mwe-upwiz-stepdiv-details' ).find( 'textarea.mwe-error' ).length |
1338 | | - + $( '#mwe-upwiz-stepdiv-details' ).find( 'input.mwe-validator-error' ).length |
1339 | | - + $( '#mwe-upwiz-stepdiv-details' ).find( 'textarea.mwe-validator-error' ).length; |
| 1335 | + var errorCount = $( '#mwe-upwiz-stepdiv-details' ).find( 'input.mwe-error, textarea.mwe-error, input.mwe-validator-error, textarea.mwe-validator-error' ).length; |
1340 | 1336 | if ( errorCount > 0 ) { |
1341 | 1337 | $( '#mwe-upwiz-details-error-count' ).msg( 'mwe-upwiz-details-error-count', errorCount, this.uploads.length ); |
1342 | 1338 | } else { |