summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-10-18 23:38:27 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-10-18 23:38:27 -0600
commitb2d0b3ebbb1764593e387a2e07e0d4e67f4f5474 (patch)
treecf716196ab397f6fd033139accbea400223b6afa /modules
parentf421593c1d8fcd4fbfa385e8d2619d2bf79ddaee (diff)
Fix sidebar block admin layout. Don't hardcode block list height, use the equal_heights() function to set it.
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/views/admin_sidebar.html.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gallery/views/admin_sidebar.html.php b/modules/gallery/views/admin_sidebar.html.php
index ea950b54..030dfdce 100644
--- a/modules/gallery/views/admin_sidebar.html.php
+++ b/modules/gallery/views/admin_sidebar.html.php
@@ -1,5 +1,9 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<script type="text/javascript">
+ $(document).ready(function(){
+ $(".g-blocks-list").equal_heights();
+ });
+
$(function() {
$(".g-blocks-list ul").sortable({
connectWith: ".g-sortable-blocks",