Merge branch '77-bug-en-fondo-de-consolas-visuales-pandora-7-3' into 'develop'
Filter create or update visual console, not let background size smaller than 1024x768 - #77 See merge request !207
This commit is contained in:
commit
cf1cb00e21
|
@ -244,20 +244,20 @@ $(document).ready (function () {
|
|||
});
|
||||
|
||||
$( "input[type=submit]" ).click(function( event ) {
|
||||
if($( "#getsize" ).css('visibility')=='hidden'){
|
||||
if (parseInt($('#imagen').width()) < 1024){
|
||||
alert('Default width is '+$('#imagen').width()+'px, smaller than minimum -> 1024px');
|
||||
$('input[name=width]').val('1024');
|
||||
}
|
||||
else{
|
||||
$('input[name=width]').val($('#imagen').width());
|
||||
}
|
||||
if (parseInt($('#imagen').height()) < 768){
|
||||
alert('Default height is '+$('#imagen').height()+'px, smaller than minimum -> 768px');
|
||||
$('input[name=height]').val('768');
|
||||
}
|
||||
else{
|
||||
$('input[name=height]').val($('#imagen').height());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$("#background").change(function() {
|
||||
|
|
Loading…
Reference in New Issue