pari: branch asterisknow r718 - in /branches: aadk/ aadk/config/setup/ asteri...

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Fri Apr 20 14:42:52 MST 2007


Author: pari
Date: Fri Apr 20 16:42:51 2007
New Revision: 718

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

........
r717 | pari | 2007-04-20 16:33:21 -0500 (Fri, 20 Apr 2007) | 1 line

Use cross browser add_event functions during setup wizard
........

Modified:
    branches/aadk/   (props changed)
    branches/aadk/config/setup/3.html
    branches/aadk/config/setup/4.html
    branches/aadk/config/setup/5.html
    branches/aadk/config/setup/7.html
    branches/asterisknow/   (props changed)
    branches/asterisknow/config/setup/3.html
    branches/asterisknow/config/setup/4.html
    branches/asterisknow/config/setup/5.html
    branches/asterisknow/config/setup/7.html

Propchange: branches/aadk/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Fri Apr 20 16:42:51 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-713
+/trunk:1-430,433-449,489-501,505-506,508-510,512-540,542-557,559,561-577,580-586,588-616,618-717

Modified: branches/aadk/config/setup/3.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/setup/3.html?view=diff&rev=718&r1=717&r2=718
==============================================================================
--- branches/aadk/config/setup/3.html (original)
+++ branches/aadk/config/setup/3.html Fri Apr 20 16:42:51 2007
@@ -26,7 +26,7 @@
 </HEAD>
 <script src="../scripts/prototype.js"></script>
 <SCRIPT>
-
+add_event = parent.add_event;
 var rawman_url;
 var usercallbacks = new Object;
 var fieldnames = new Array( 'save','userbase','localextenlength','allow_aliasextns');
@@ -62,7 +62,8 @@
 	};
 	rawman_url = parent.rawman_url ;
 	parent.astmanEngine.setURL(rawman_url);
-	_$('localextenlength').addEventListener("change", update_spae, false);
+	//_$('localextenlength').addEventListener("change", update_spae, false);
+	add_event( _$('localextenlength') , "change", update_spae );
 	ping();
 }
 
@@ -113,7 +114,8 @@
 
 
 usercallbacks.loaded = function(){
-	_$('localextenlength').addEventListener("change", store_extlength, false);
+	//_$('localextenlength').addEventListener("change", store_extlength, false);
+	add_event( _$('localextenlength') , "change", store_extlength );
 	parent.astmanEngine.pollEvents();
 	_$('devices').selectitem(0);
 	parent._$('next').disabled = false;	

Modified: branches/aadk/config/setup/4.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/setup/4.html?view=diff&rev=718&r1=717&r2=718
==============================================================================
--- branches/aadk/config/setup/4.html (original)
+++ branches/aadk/config/setup/4.html Fri Apr 20 16:42:51 2007
@@ -184,7 +184,8 @@
 	parent.astmanEngine.pollEvents();
 	_$('devices').contentEditable = 'true';
 	_$('devices').disabled = 0;
-	_$('new').addEventListener("click", showSPdetails, false); 
+	//_$('new').addEventListener("click", showSPdetails, false);
+	add_event( _$('new') , "click", showSPdetails );
 	loadServiceProvidersintotable();
 }
 

Modified: branches/aadk/config/setup/5.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/setup/5.html?view=diff&rev=718&r1=717&r2=718
==============================================================================
--- branches/aadk/config/setup/5.html (original)
+++ branches/aadk/config/setup/5.html Fri Apr 20 16:42:51 2007
@@ -122,7 +122,8 @@
 }
 
 trunkcallbacks.loaded = function(){
-	_$('trunks').addEventListener('click',hackenablesave,false);
+	//_$('trunks').addEventListener('click',hackenablesave,false);
+	add_event( _$('trunks') , "click", hackenablesave );
 	parent.astmanEngine.config2list("extensions.conf", _$('extensions'), new Object(), numplan_callbacks);
 }
 

Modified: branches/aadk/config/setup/7.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/setup/7.html?view=diff&rev=718&r1=717&r2=718
==============================================================================
--- branches/aadk/config/setup/7.html (original)
+++ branches/aadk/config/setup/7.html Fri Apr 20 16:42:51 2007
@@ -72,7 +72,8 @@
 callbacks.loaded = function() {
 	_$('devices').contentEditable = 'true';
 	_$('devices').disabled = 0;
-	_$('new').addEventListener("click", showuserdetails, false); 
+	//_$('new').addEventListener("click", showuserdetails, false);
+	add_event( _$('new') , "click", showuserdetails );
 	parent.astmanEngine.pollEvents();
 	loadusersintotable();
 }

Propchange: branches/asterisknow/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Fri Apr 20 16:42:51 2007
@@ -1,1 +1,1 @@
-/trunk:1-449,489-540,542-557,559,561-577,580-586,588-713
+/trunk:1-449,489-540,542-557,559,561-577,580-586,588-717

Modified: branches/asterisknow/config/setup/3.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/setup/3.html?view=diff&rev=718&r1=717&r2=718
==============================================================================
--- branches/asterisknow/config/setup/3.html (original)
+++ branches/asterisknow/config/setup/3.html Fri Apr 20 16:42:51 2007
@@ -26,7 +26,7 @@
 </HEAD>
 <script src="../scripts/prototype.js"></script>
 <SCRIPT>
-
+add_event = parent.add_event;
 var rawman_url;
 var usercallbacks = new Object;
 var fieldnames = new Array( 'save','userbase','localextenlength','allow_aliasextns');
@@ -62,7 +62,8 @@
 	};
 	rawman_url = parent.rawman_url ;
 	parent.astmanEngine.setURL(rawman_url);
-	_$('localextenlength').addEventListener("change", update_spae, false);
+	//_$('localextenlength').addEventListener("change", update_spae, false);
+	add_event( _$('localextenlength') , "change", update_spae );
 	ping();
 }
 
@@ -113,7 +114,8 @@
 
 
 usercallbacks.loaded = function(){
-	_$('localextenlength').addEventListener("change", store_extlength, false);
+	//_$('localextenlength').addEventListener("change", store_extlength, false);
+	add_event( _$('localextenlength') , "change", store_extlength );
 	parent.astmanEngine.pollEvents();
 	_$('devices').selectitem(0);
 	parent._$('next').disabled = false;	

Modified: branches/asterisknow/config/setup/4.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/setup/4.html?view=diff&rev=718&r1=717&r2=718
==============================================================================
--- branches/asterisknow/config/setup/4.html (original)
+++ branches/asterisknow/config/setup/4.html Fri Apr 20 16:42:51 2007
@@ -184,7 +184,8 @@
 	parent.astmanEngine.pollEvents();
 	_$('devices').contentEditable = 'true';
 	_$('devices').disabled = 0;
-	_$('new').addEventListener("click", showSPdetails, false); 
+	//_$('new').addEventListener("click", showSPdetails, false);
+	add_event( _$('new') , "click", showSPdetails );
 	loadServiceProvidersintotable();
 }
 

Modified: branches/asterisknow/config/setup/5.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/setup/5.html?view=diff&rev=718&r1=717&r2=718
==============================================================================
--- branches/asterisknow/config/setup/5.html (original)
+++ branches/asterisknow/config/setup/5.html Fri Apr 20 16:42:51 2007
@@ -122,7 +122,8 @@
 }
 
 trunkcallbacks.loaded = function(){
-	_$('trunks').addEventListener('click',hackenablesave,false);
+	//_$('trunks').addEventListener('click',hackenablesave,false);
+	add_event( _$('trunks') , "click", hackenablesave );
 	parent.astmanEngine.config2list("extensions.conf", _$('extensions'), new Object(), numplan_callbacks);
 }
 

Modified: branches/asterisknow/config/setup/7.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/setup/7.html?view=diff&rev=718&r1=717&r2=718
==============================================================================
--- branches/asterisknow/config/setup/7.html (original)
+++ branches/asterisknow/config/setup/7.html Fri Apr 20 16:42:51 2007
@@ -72,7 +72,8 @@
 callbacks.loaded = function() {
 	_$('devices').contentEditable = 'true';
 	_$('devices').disabled = 0;
-	_$('new').addEventListener("click", showuserdetails, false); 
+	//_$('new').addEventListener("click", showuserdetails, false);
+	add_event( _$('new') , "click", showuserdetails );
 	parent.astmanEngine.pollEvents();
 	loadusersintotable();
 }



More information about the asterisk-gui-commits mailing list