| 1 |
// $Id: dashboard.js,v 1.8 2009/08/26 23:50:32 drumm Exp $ |
// $Id: dashboard.js,v 1.9 2009/09/01 16:59:55 drumm Exp $ |
| 2 |
|
|
| 3 |
Drupal.behaviors.dashboard = function(context) { |
Drupal.behaviors.dashboard = function(context) { |
| 4 |
$dashboard = $('#dashboard:not(.dashboard-processed)', context).addClass('dashboard-processed'); |
$dashboard = $('#dashboard:not(.dashboard-processed)', context).addClass('dashboard-processed'); |
| 11 |
items: '>div.widget', |
items: '>div.widget', |
| 12 |
handle: '>h2', |
handle: '>h2', |
| 13 |
connectWith: $columns, |
connectWith: $columns, |
| 14 |
placeholder: 'dashboard-placeholder widget grid-4 alpha omega', // todo theme |
placeholder: 'dashboard-placeholder ' + $('>div.widget', $columns).attr('class')), |
| 15 |
forcePlaceholderSize: true, |
forcePlaceholderSize: true, |
| 16 |
containment: 'window', |
containment: 'window', |
| 17 |
distance: 5, |
distance: 5, |