Merge pull request #368 from butonic/i18n_of_cancel_button

add i18n for close button in the max upload size reached dialog
This commit is contained in:
Lukas Reschke 2012-11-12 06:36:51 -08:00
commit 89f2d4ba07
1 changed files with 5 additions and 2 deletions

View File

@ -219,8 +219,11 @@ $(document).ready(function() {
$( '#uploadsize-message' ).dialog({ $( '#uploadsize-message' ).dialog({
modal: true, modal: true,
buttons: { buttons: {
Close: function() { Close: {
$( this ).dialog( 'close' ); text:t('files', 'Close'),
click:function() {
$( this ).dialog( 'close' );
}
} }
} }
}); });