From 38df2c71a25e03d1ce4d95ecb0d64b985cb153f2 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Wed, 30 May 2012 09:04:12 +0000 Subject: [PATCH] Added icon_select widget SVN:trunk[2056] --- js/dashboard.js | 5 - js/fg.menu.js | 653 +++++++++++++++++++++++++++++++++++++++++++ js/icon_select.js | 127 +++++++++ js/property_field.js | 8 +- 4 files changed, 787 insertions(+), 6 deletions(-) create mode 100755 js/fg.menu.js create mode 100644 js/icon_select.js diff --git a/js/dashboard.js b/js/dashboard.js index 13785abca..2f353c5a6 100644 --- a/js/dashboard.js +++ b/js/dashboard.js @@ -27,7 +27,6 @@ $(function() .addClass('itop-dashboard'); this.ajax_div = $('
').appendTo(this.element); - $('.itop-dashboard').bind('keyup.dashboard_editor', function(event) { me._on_keyup(event); } ); this._make_draggable(); }, @@ -189,10 +188,6 @@ $(function() } }, }); - }, - _on_keyup: function(event) - { - console.log('Key pressed in Dashlet'); } }); }); \ No newline at end of file diff --git a/js/fg.menu.js b/js/fg.menu.js new file mode 100755 index 000000000..2c22fc97e --- /dev/null +++ b/js/fg.menu.js @@ -0,0 +1,653 @@ +/*-------------------------------------------------------------------- +Scripts for creating and manipulating custom menus based on standard