diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-19 20:44:22 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-19 20:44:22 +0000 |
commit | 9c1ca0412bc94fa00494ce8bc46c6a8d4e66c4b2 (patch) | |
tree | 52a98da29079ea0ef1a93085126477c081033e1f /js/lib | |
parent | c4086e0deabe3b4305f1368082c8bfcaab5539aa (diff) | |
download | elgg-9c1ca0412bc94fa00494ce8bc46c6a8d4e66c4b2.tar.gz elgg-9c1ca0412bc94fa00494ce8bc46c6a8d4e66c4b2.tar.bz2 |
starting to use the grid in the widget code
git-svn-id: http://code.elgg.org/elgg/trunk@7692 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'js/lib')
-rw-r--r-- | js/lib/ui.widgets.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/lib/ui.widgets.js b/js/lib/ui.widgets.js index c33056d7c..141ea2d31 100644 --- a/js/lib/ui.widgets.js +++ b/js/lib/ui.widgets.js @@ -8,13 +8,13 @@ elgg.provide('elgg.ui.widgets'); elgg.ui.widgets.init = function() {
// widget layout?
- if ($(".widget-column").length == 0) {
+ if ($(".elgg-widgets").length == 0) {
return;
}
- $(".widget-column").sortable({
+ $(".elgg-widgets").sortable({
items: 'div.widget',
- connectWith: '.widget-column',
+ connectWith: '.elgg-widgets',
handle: 'div.drag-handle',
forcePlaceholderSize: true,
placeholder: 'widget-placeholder',
@@ -34,7 +34,7 @@ elgg.ui.widgets.init = function() { $('.widget-edit > form ').submit(elgg.ui.widgets.saveSettings);
$('a.widget-collapse-button').click(elgg.ui.widgets.collapseToggle);
- elgg.ui.widgets.equalHeight(".widget-column");
+ elgg.ui.widgets.equalHeight(".elgg-widgets");
};
/**
|