Index: branches/js2-work/phase3/js/mwEmbed/modules/AddMedia/mw.BaseUploadInterface.js |
— | — | @@ -722,7 +722,8 @@ |
723 | 723 | 'sessionkey': _this.warnings_sessionkey, |
724 | 724 | 'ignorewarnings': 1, |
725 | 725 | 'filename': $j( '#wpDestFile' ).val(), |
726 | | - 'token' : _this.editToken |
| 726 | + 'token' : _this.editToken, |
| 727 | + 'comment' : $j( '#wpUploadDescription' ).val(), |
727 | 728 | }; |
728 | 729 | //run the upload from stash request |
729 | 730 | mw.getJSON(_this.api_url, request, function( data ) { |