pari: branch 2.0 r3842 - /branches/2.0/config/welcome.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Sep 18 18:30:13 CDT 2008


Author: pari
Date: Thu Sep 18 18:30:12 2008
New Revision: 3842

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3842
Log:

 change the log order (latest events on top)



Modified:
    branches/2.0/config/welcome.html

Modified: branches/2.0/config/welcome.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/welcome.html?view=diff&rev=3842&r1=3841&r2=3842
==============================================================================
--- branches/2.0/config/welcome.html (original)
+++ branches/2.0/config/welcome.html Thu Sep 18 18:30:12 2008
@@ -142,7 +142,13 @@
 		if( parent.sessionData.DEBUG_MODE ){
 			var b = document.createElement('div');
 			b.innerHTML = '<PRE>' + op + '</PRE><HR>';
-			_$('waitevent_Log').appendChild(b);
+
+			var wl = _$('waitevent_Log');
+			if( wl.childNodes.length ){
+				wl.insertBefore(b, wl.childNodes[0] );
+			}else{
+				wl.appendChild(b);
+			}
 		}
 		var op_LC = op.toLowerCase() ;
 		try{




More information about the asterisk-gui-commits mailing list