Indenation fix in functions.js

This commit is contained in:
Adnan
2010-08-19 17:32:43 +05:00
parent afcf1e6bbe
commit 27fe8e4658

View File

@@ -1436,14 +1436,11 @@ function refreshDragOption(e) {
function refreshLayout() {
var elm = $('#pdflayout')
var orientation = $('#orientation_opt').val();
if($('#paper_opt').length==1)
{
var paper = $('#paper_opt').val();
}
else
{
if($('#paper_opt').length==1){
var paper = $('#paper_opt').val();
}else{
var paper = 'A4';
}
}
if (orientation == 'P') {
posa = 'x';
posb = 'y';