summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorBartek Przybylski <bart.p.pl@gmail.com>2012-05-03 12:32:04 +0200
committerBartek Przybylski <bart.p.pl@gmail.com>2012-05-03 12:32:37 +0200
commit5611e6c9d3d75a1f051dabe9f4dd0e0fa86a924d (patch)
tree4e29b0cbda8c7513619520e59422e300c50d7201 /core/js
parentf85d076a4e1df2de8b7b75e379d52fd71807ae01 (diff)
downloadnextcloud-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.js2
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