rbrindley: branch rbrindley/welcome_revamp r4186 - /team/rbrindley/welcome_re...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Nov 21 01:53:39 CST 2008


Author: rbrindley
Date: Fri Nov 21 01:53:38 2008
New Revision: 4186

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4186
Log:
added minimaxi toggle code

Modified:
    team/rbrindley/welcome_revamp/config/js/welcome2.js

Modified: team/rbrindley/welcome_revamp/config/js/welcome2.js
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/welcome_revamp/config/js/welcome2.js?view=diff&rev=4186&r1=4185&r2=4186
==============================================================================
--- team/rbrindley/welcome_revamp/config/js/welcome2.js (original)
+++ team/rbrindley/welcome_revamp/config/js/welcome2.js Fri Nov 21 01:53:38 2008
@@ -42,9 +42,15 @@
 		placeholder: 'placeholder'
 	});
 
+	/* Event Delegation */
 	$('body').click( $.delegate({
 		'.minimaxi': function (e) {
 			$(e.target).parents("div.content").children(".body").toggle();
+			if ($(e.target).html() == "[ - ]") {
+				$(e.target).html("[ + ]");
+			} else {
+				$(e.target).html("[ - ]");
+			}
 		}
 	}));
 




More information about the asterisk-gui-commits mailing list