diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-08-06 16:15:40 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-08-06 16:15:40 -0700 |
| commit | 3850587519b6f281531651e6790803c3eaa41244 (patch) | |
| tree | d3e2329246f0e883637a2e60602c9df3da28ccb0 /modules/organize/views | |
| parent | 7ea05eacd7b8bd18d817996c5240b33b2a79fd18 (diff) | |
| parent | 794a7a5abf38ed828329cb0023df938479e90901 (diff) | |
Merge branch 'master' of git@github.com:talmdal/gallery3 into talmdal_branch
Diffstat (limited to 'modules/organize/views')
| -rw-r--r-- | modules/organize/views/organize_dialog.html.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/organize/views/organize_dialog.html.php b/modules/organize/views/organize_dialog.html.php index 4f10297e..11ce0a37 100644 --- a/modules/organize/views/organize_dialog.html.php +++ b/modules/organize/views/organize_dialog.html.php @@ -38,3 +38,13 @@ </div> </div> +<script type="text/javascript"> + setTimeout(function() { + // Resize with 50 pixels padding all around + var size = $.getViewportSize(); + $("#gDialog").dialog("option", "height", size.height() - 100) + .dialog("option", "width", size.width() - 100) + .dialog("option", "position", "center"); + $.organize.init(); + }, 0); +</script>
\ No newline at end of file |
