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:
commit
89f2d4ba07
|
@ -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' );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue