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() { function refreshLayout() {
var elm = $('#pdflayout') var elm = $('#pdflayout')
var orientation = $('#orientation_opt').val(); var orientation = $('#orientation_opt').val();
if($('#paper_opt').length==1) if($('#paper_opt').length==1){
{ var paper = $('#paper_opt').val();
var paper = $('#paper_opt').val(); }else{
}
else
{
var paper = 'A4'; var paper = 'A4';
} }
if (orientation == 'P') { if (orientation == 'P') {
posa = 'x'; posa = 'x';
posb = 'y'; posb = 'y';