moksha/public/javascript/ui/moksha.ui.popup.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)
New commits: commit af1729ad391d4b5891560eb5fcd55695abbd8436 Author: John (J5) Palmieri johnp@redhat.com Date: Wed May 20 13:54:20 2009 -0400
add a show and hide signal to the menu
diff --git a/moksha/public/javascript/ui/moksha.ui.popup.js b/moksha/public/javascript/ui/moksha.ui.popup.js index a08b767..07b68b2 100644 --- a/moksha/public/javascript/ui/moksha.ui.popup.js +++ b/moksha/public/javascript/ui/moksha.ui.popup.js @@ -1,16 +1,16 @@ // This file is part of Moksha. // Copyright (C) 2008-2009 Red Hat, Inc. -// +// // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any later version. -// +// // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. -// +// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see http://www.gnu.org/licenses/.
@@ -56,6 +56,9 @@ $.widget("ui.moksha_popup", { this.$panel.show(); }
+ // fire off a show event + $e.trigger('show'); + },
hidePopup: function() { @@ -67,6 +70,8 @@ $.widget("ui.moksha_popup", { } else { this.$panel.hide(); } + + $e.trigger('hide'); },
_startHover: function() {
moksha-commits@lists.fedorahosted.org