bkruse: branch asterisknow r1125 - in /branches/asterisknow: ./ config/scripts/

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Jun 19 18:00:37 CDT 2007


Author: bkruse
Date: Tue Jun 19 18:00:37 2007
New Revision: 1125

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1125
Log:
Merged revisions 1124 via svnmerge from 
https://origsvn.digium.com/svn/asterisk-gui/trunk

........
r1124 | bkruse | 2007-06-19 17:59:24 -0500 (Tue, 19 Jun 2007) | 1 line

Fixed the Active Channels Page. Problems: [1] We were calling astmanEngine instead of parent.astmanEngine. [2] We were calling an invalid callback. [3] We were trying to reference channelsCallback in the if statement, which does not exist. Its all fixed now :]
........

Modified:
    branches/asterisknow/   (props changed)
    branches/asterisknow/config/scripts/astman.js

Propchange: branches/asterisknow/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue Jun 19 18:00:37 2007
@@ -1,1 +1,1 @@
-/trunk:1-449,489-540,542-557,559,561-577,580-586,588-1080,1085,1094,1097,1100,1103,1116,1120
+/trunk:1-449,489-540,542-557,559,561-577,580-586,588-1080,1085,1094,1097,1100,1103,1116,1120,1124

Modified: branches/asterisknow/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/scripts/astman.js?view=diff&rev=1125&r1=1124&r2=1125
==============================================================================
--- branches/asterisknow/config/scripts/astman.js (original)
+++ branches/asterisknow/config/scripts/astman.js Tue Jun 19 18:00:37 2007
@@ -1122,11 +1122,7 @@
 			target=target.parentNode;
 		me.selecttarget = target.id;
 		target.className = "chanlistselected";
-
-		if(channelsCallback ){
-			channelsCallback (target.id);
-		}
-		//me.chancallback(target.id);
+		me.chancallback(target.id);
 	};
 
 	this.restoreTarget = function(targetname) {
@@ -1223,7 +1219,7 @@
 					foundactive = 1;
 				}
 				count++;
-				s = s + "\t<tr class='" + cclass + "' id='" + channels[x].channel + "' onClick='astmanEngine.clickChannel(event)'>";
+				s = s + "\t<tr class='" + cclass + "' id='" + channels[x].channel + "' onClick='parent.astmanEngine.clickChannel(event)'>";
 				s = s + "<td class='field_text'>" + channels[x].channel + "</td>";
 				if (channels[x].state)
 					s = s + "<td class='field_text'>" + channels[x].state + "</td>";




More information about the asterisk-gui-commits mailing list