coding guidelines
This commit is contained in:
parent
45c9f1978e
commit
b949619d04
|
@ -250,11 +250,11 @@ $(document).ready(function() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(totalSize>$('#max_upload').val()){
|
if(totalSize>$('#max_upload').val()){
|
||||||
$( "#uploadsize-message" ).dialog({
|
$( '#uploadsize-message' ).dialog({
|
||||||
modal: true,
|
modal: true,
|
||||||
buttons: {
|
buttons: {
|
||||||
Close: function() {
|
Close: function() {
|
||||||
$( this ).dialog( "close" );
|
$( this ).dialog( 'close' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -302,7 +302,7 @@ $(document).ready(function() {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fail: function(e, data) {
|
fail: function(e, data) {
|
||||||
console.debug("Fail", data);
|
console.debug('Fail', data);
|
||||||
// TODO: cancel upload & display error notification
|
// TODO: cancel upload & display error notification
|
||||||
},
|
},
|
||||||
progress: function(e, data) {
|
progress: function(e, data) {
|
||||||
|
|
Loading…
Reference in New Issue