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,10 +219,13 @@ $(document).ready(function() {
|
||||||
$( '#uploadsize-message' ).dialog({
|
$( '#uploadsize-message' ).dialog({
|
||||||
modal: true,
|
modal: true,
|
||||||
buttons: {
|
buttons: {
|
||||||
Close: function() {
|
Close: {
|
||||||
|
text:t('files', 'Close'),
|
||||||
|
click:function() {
|
||||||
$( this ).dialog( 'close' );
|
$( this ).dialog( 'close' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
var date=new Date();
|
var date=new Date();
|
||||||
|
|
Loading…
Reference in New Issue