summaryrefslogtreecommitdiff
path: root/modules/organize/views/organize_dialog.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-08-06 19:28:37 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-08-06 19:28:37 -0700
commit144a0d7d34d1d56aebd990f0fed8a4ef1633665d (patch)
treeccf09b450468999e9b0a43efc92c70444caf857c /modules/organize/views/organize_dialog.html.php
parent362b4d70f72fa6baed15bd323a2ca5deea7d6ab3 (diff)
parent6e4023a7207b721694403f38d6afb7a507468498 (diff)
trying to restore the branch from a failed revert
Diffstat (limited to 'modules/organize/views/organize_dialog.html.php')
-rw-r--r--modules/organize/views/organize_dialog.html.php10
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