fix incorrect dialog computing in ff

This commit is contained in:
Bartek Przybylski 2012-05-03 12:32:04 +02:00
parent f85d076a4e
commit 5611e6c9d3
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ OCdialogs = {
},
{text: t('dialogs', 'Cancel'), click: function(){$(c_id).dialog('close'); }}
];
$(c_id).dialog({width: 4*$(document).width()/9, height: 400, modal: modal, buttons: b});
$(c_id).dialog({width: ((4*$('body').width())/9), height: 400, modal: modal, buttons: b});
OCdialogs.dialogs_counter++;
},
// guts, dont use, dont touch