diff options
author | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-05-03 12:32:04 +0200 |
---|---|---|
committer | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-05-03 12:32:37 +0200 |
commit | 5611e6c9d3d75a1f051dabe9f4dd0e0fa86a924d (patch) | |
tree | 4e29b0cbda8c7513619520e59422e300c50d7201 /core/js | |
parent | f85d076a4e1df2de8b7b75e379d52fd71807ae01 (diff) | |
download | nextcloud-server-5611e6c9d3d75a1f051dabe9f4dd0e0fa86a924d.tar.gz nextcloud-server-5611e6c9d3d75a1f051dabe9f4dd0e0fa86a924d.zip |
fix incorrect dialog computing in ff
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/oc-dialogs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 7e41c1a7a59..f6870e62710 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -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 |