Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit cc555df

Browse files
author
Alain Horner
committed
Fix display bug with the overlay
1 parent 01ca493 commit cc555df

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Resources/public/js/admin_tree.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ var AdminTree = (function () {
1111
// iframe is needed because the delivered form might need some additional JS
1212
var treeDialog = jQuery("<iframe id='tree_dialog'></iframe>");
1313
treeDialog.attr('src', url);
14-
treeDialog.css('height', '500px');
14+
treeDialog.css('min-width', '100%');// we set the min-width because the treeDialog plugin overrides the width set
15+
16+
jQuery(document.body).append(treeDialog);
1517

1618
treeDialog.dialog({
1719
width: 800,
20+
height: 500,
1821
modal: true,
1922
autoOpen: true,
2023
resizable: true,
@@ -26,8 +29,6 @@ var AdminTree = (function () {
2629
}
2730
});
2831

29-
jQuery(document.body).append(treeDialog);
30-
3132
return treeDialog;
3233
};
3334

0 commit comments

Comments
 (0)