fix incorrect dialog computing in ff
This commit is contained in:
parent
f85d076a4e
commit
5611e6c9d3
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ OCdialogs = {
|
||||||
},
|
},
|
||||||
{text: t('dialogs', 'Cancel'), click: function(){$(c_id).dialog('close'); }}
|
{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++;
|
OCdialogs.dialogs_counter++;
|
||||||
},
|
},
|
||||||
// guts, dont use, dont touch
|
// guts, dont use, dont touch
|
||||||
|
|
Loading…
Reference in a new issue