Index: trunk/extensions/UploadWizard/resources/mw.UploadWizard.js |
— | — | @@ -1270,9 +1270,10 @@ |
1271 | 1271 | $j( '#mwe-upwiz-feedback-form div' ).hide(); // remove everything else from the dialog box |
1272 | 1272 | $j( '#mwe-upwiz-feedback-form' ).append ( $j( '<div style="text-align:center;margin:3em 0;"></div>' ).append( gM( 'mwe-upwiz-feedback-adding' ), $j( '<br/>' ), $j( '<img src="http://upload.wikimedia.org/wikipedia/commons/4/42/Loading.gif" />' ) ) ); |
1273 | 1273 | var subject = $j( '#mwe-upwiz-feedback-subject' ).val(); |
1274 | | - var message = $j( '#mwe-upwiz-feedback-message' ).val(); |
| 1274 | + var message = "<!--User agent: "+navigator.userAgent+"-->\n"; |
| 1275 | + message += $j( '#mwe-upwiz-feedback-message' ).val(); |
1275 | 1276 | if ( message.indexOf( '~~~' ) == -1 ) { |
1276 | | - message = message+' ~~~~'; |
| 1277 | + message += ' ~~~~'; |
1277 | 1278 | } |
1278 | 1279 | var useTokenToPostFeedback = function( token ) { |
1279 | 1280 | $j.ajax({ |
— | — | @@ -1312,7 +1313,7 @@ |
1313 | 1314 | $feedbackForm = $j( '<div id="mwe-upwiz-feedback-form" style="position:relative;"></div>' ) |
1314 | 1315 | .append( $j( '<div style="margin-top:0.4em;"></div>' ).append( $j( '<small></small>' ).msg( 'mwe-upwiz-feedback-note', feedbackLink ) ) ) |
1315 | 1316 | .append( $j( '<div style="margin-top:1em;"></div>' ).append( gM( 'mwe-upwiz-feedback-subject' ), $j( '<br/>' ), $j( '<input type="text" id="mwe-upwiz-feedback-subject" name="subject" maxlength="60" style="width:99%;"/>' ) ) ) |
1316 | | - .append( $j( '<div style="margin-top:0.4em;"></div>' ).append( gM( 'mwe-upwiz-feedback-message' ), $j( '<br/>' ), $j( '<textarea name="message" id="mwe-upwiz-feedback-message" style="width:99%;" rows="4" cols="60"></textarea>' ) ) ) |
| 1317 | + .append( $j( '<div style="margin-top:0.4em;"></div>' ).append( gM( 'mwe-upwiz-feedback-message' ), $j( '<br/>' ), $j( '<textarea name="message" id="mwe-upwiz-feedback-message" style="width:99%;" rows="5" cols="60"></textarea>' ) ) ) |
1317 | 1318 | .dialog({ |
1318 | 1319 | width: 500, |
1319 | 1320 | autoOpen: false, |