pari: branch asterisknow r759 - in /branches: aadk/ aadk/config/ aadk/config/...

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Wed Apr 25 13:05:02 MST 2007


Author: pari
Date: Wed Apr 25 15:05:02 2007
New Revision: 759

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

........
r754 | pari | 2007-04-24 18:46:55 -0500 (Tue, 24 Apr 2007) | 1 line

tweak: Not having to do browser detection every time an event is defined
........
r755 | pari | 2007-04-24 21:35:49 -0500 (Tue, 24 Apr 2007) | 1 line

deleting unused images
........
r756 | pari | 2007-04-24 21:50:44 -0500 (Tue, 24 Apr 2007) | 1 line

too long
........

Removed:
    branches/aadk/config/images/adv-v.png
    branches/aadk/config/images/adv.png
    branches/aadk/config/images/home-icon.png
    branches/aadk/config/images/slice-v.png
    branches/aadk/config/images/slice.png
    branches/aadk/config/images/split-v.png
    branches/aadk/config/images/split.png
    branches/asterisknow/config/images/adv-v.png
    branches/asterisknow/config/images/adv.png
    branches/asterisknow/config/images/home-icon.png
    branches/asterisknow/config/images/slice-v.png
    branches/asterisknow/config/images/slice.png
    branches/asterisknow/config/images/split-v.png
    branches/asterisknow/config/images/split.png
Modified:
    branches/aadk/   (props changed)
    branches/aadk/config/localexts.html
    branches/aadk/config/options.html
    branches/aadk/config/scripts/astman.js
    branches/asterisknow/   (props changed)
    branches/asterisknow/config/localexts.html
    branches/asterisknow/config/options.html
    branches/asterisknow/config/scripts/astman.js

Propchange: branches/aadk/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed Apr 25 15:05:02 2007
@@ -1,1 +1,1 @@
-/trunk:1-430,433-449,489-501,505-506,508-510,512-540,542-557,559,561-577,580-586,588-616,618-751
+/trunk:1-430,433-449,489-501,505-506,508-510,512-540,542-557,559,561-577,580-586,588-616,618-758

Modified: branches/aadk/config/localexts.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/localexts.html?view=diff&rev=759&r1=758&r2=759
==============================================================================
--- branches/aadk/config/localexts.html (original)
+++ branches/aadk/config/localexts.html Wed Apr 25 15:05:02 2007
@@ -135,7 +135,7 @@
 		</script>
 		</a>
 	</TD>
-	<TD valign="bottom" align="left"><a href="#" class="tab" onclick="tosetup();">Run Setup Wizard</a></TD> 
+	<TD valign="bottom" align="left"><a href="#" class="tab" onclick="tosetup();">Setup Wizard</a></TD> 
 </TR>
 </TABLE>
 <BR>

Modified: branches/aadk/config/options.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/options.html?view=diff&rev=759&r1=758&r2=759
==============================================================================
--- branches/aadk/config/options.html (original)
+++ branches/aadk/config/options.html Wed Apr 25 15:05:02 2007
@@ -249,7 +249,7 @@
 		</script>
 		</a>
 	</TD>
-	<TD valign="bottom" align="left"><a href="#" onclick="tosetup();" class="tab">Run Setup Wizard</a></TD> 
+	<TD valign="bottom" align="left"><a href="#" onclick="tosetup();" class="tab">Setup Wizard</a></TD> 
 </TR>
 </TABLE>
 <BR>

Modified: branches/aadk/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/scripts/astman.js?view=diff&rev=759&r1=758&r2=759
==============================================================================
--- branches/aadk/config/scripts/astman.js (original)
+++ branches/aadk/config/scripts/astman.js Wed Apr 25 15:05:02 2007
@@ -122,25 +122,16 @@
 }
 
 
-function add_event( a , b, c ){  
-	// cross browser function for adding events
-	// a is element , b is event (string) , c is the function 
-	if ( a.addEventListener){
-		a.addEventListener(b, c, false);
-	} else if (a.attachEvent){
-		a.attachEvent('on'+b, c);
-	}
-}
-
-function remove_event(a,b,c){ 
-	// cross browser function for removing events
-	// a is element , b is event (string) , c is the function 
-	if(a.removeEventListener){
-		a.removeEventListener( b, c , false);
-	}else if(a.detachEvent){
-		a.detachEvent("on"+b, c);
-	}
-}
+// cross browser function for adding/removing events to elements
+// a is element , b is event (string) , c is the function 
+if(document.addEventListener){
+	add_event = function( a , b, c ){ a.addEventListener(b, c, false); }
+	remove_event = function(a,b,c){ a.removeEventListener( b, c , false); }
+}else if(document.attachEvent){
+	add_event = function( a , b, c ){ a.attachEvent('on'+b, c); }
+	remove_event = function(a,b,c){ a.detachEvent("on"+b, c); }
+}
+
 
 function config2json(a, b, c){		// a is filename (string) , b is 0 or 1 , c is callback function
 	var opt = { method: 'get', asynchronous: true,

Propchange: branches/asterisknow/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed Apr 25 15:05:02 2007
@@ -1,1 +1,1 @@
-/trunk:1-449,489-540,542-557,559,561-577,580-586,588-751
+/trunk:1-449,489-540,542-557,559,561-577,580-586,588-758

Modified: branches/asterisknow/config/localexts.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/localexts.html?view=diff&rev=759&r1=758&r2=759
==============================================================================
--- branches/asterisknow/config/localexts.html (original)
+++ branches/asterisknow/config/localexts.html Wed Apr 25 15:05:02 2007
@@ -135,7 +135,7 @@
 		</script>
 		</a>
 	</TD>
-	<TD valign="bottom" align="left"><a href="#" class="tab" onclick="tosetup();">Run Setup Wizard</a></TD> 
+	<TD valign="bottom" align="left"><a href="#" class="tab" onclick="tosetup();">Setup Wizard</a></TD> 
 </TR>
 </TABLE>
 <BR>

Modified: branches/asterisknow/config/options.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/options.html?view=diff&rev=759&r1=758&r2=759
==============================================================================
--- branches/asterisknow/config/options.html (original)
+++ branches/asterisknow/config/options.html Wed Apr 25 15:05:02 2007
@@ -119,7 +119,7 @@
 		</script>
 		</a>
 	</TD>
-	<TD valign="bottom" align="left"><a href="#" onclick="tosetup();" class="tab">Run Setup Wizard</a></TD> 
+	<TD valign="bottom" align="left"><a href="#" onclick="tosetup();" class="tab">Setup Wizard</a></TD> 
 </TR>
 </TABLE>
 <BR>

Modified: branches/asterisknow/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/scripts/astman.js?view=diff&rev=759&r1=758&r2=759
==============================================================================
--- branches/asterisknow/config/scripts/astman.js (original)
+++ branches/asterisknow/config/scripts/astman.js Wed Apr 25 15:05:02 2007
@@ -119,25 +119,16 @@
 }
 
 
-function add_event( a , b, c ){  
-	// cross browser function for adding events
-	// a is element , b is event (string) , c is the function 
-	if ( a.addEventListener){
-		a.addEventListener(b, c, false);
-	} else if (a.attachEvent){
-		a.attachEvent('on'+b, c);
-	}
-}
-
-function remove_event(a,b,c){ 
-	// cross browser function for removing events
-	// a is element , b is event (string) , c is the function 
-	if(a.removeEventListener){
-		a.removeEventListener( b, c , false);
-	}else if(a.detachEvent){
-		a.detachEvent("on"+b, c);
-	}
-}
+// cross browser function for adding/removing events to elements
+// a is element , b is event (string) , c is the function 
+if(document.addEventListener){
+	add_event = function( a , b, c ){ a.addEventListener(b, c, false); }
+	remove_event = function(a,b,c){ a.removeEventListener( b, c , false); }
+}else if(document.attachEvent){
+	add_event = function( a , b, c ){ a.attachEvent('on'+b, c); }
+	remove_event = function(a,b,c){ a.detachEvent("on"+b, c); }
+}
+
 
 function config2json(a, b, c){		// a is filename (string) , b is 0 or 1 , c is callback function
 	var opt = { method: 'get', asynchronous: true,



More information about the asterisk-gui-commits mailing list