diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-17 22:08:39 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-17 22:08:39 +0000 |
commit | b128ec82c4bd149beb6f4436b030e288ae75fb1d (patch) | |
tree | 7d63a7b8e473073c95bff122f006f28983e1ee21 /js | |
parent | fc7f4e880ddfed812438fabc791c5f5056f541e6 (diff) | |
download | elgg-b128ec82c4bd149beb6f4436b030e288ae75fb1d.tar.gz elgg-b128ec82c4bd149beb6f4436b030e288ae75fb1d.tar.bz2 |
Refs #1793 - added a basic add new widgets view - it is not wired up yet
git-svn-id: http://code.elgg.org/elgg/trunk@7333 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'js')
-rw-r--r-- | js/lib/ui.widgets.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/lib/ui.widgets.js b/js/lib/ui.widgets.js index cf13d6e95..f4fa4b256 100644 --- a/js/lib/ui.widgets.js +++ b/js/lib/ui.widgets.js @@ -9,6 +9,12 @@ elgg.ui.widgets.init = function() { placeholder: 'widget_placeholder'
});
+ $('#widget_add_button a').bind('click', function(event) {
+ $('.widgets_add').slideToggle('medium');
+ event.preventDefault();
+ });
+
+
};
//List active widgets for each page column
|