pari: trunk r337 - /trunk/config/meetme.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Wed Feb 14 17:11:24 MST 2007


Author: pari
Date: Wed Feb 14 18:11:23 2007
New Revision: 337

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=337
Log:
bug fix: getting 'an entry names xxxx already exists' alert when there is no other conference bridge by that name 

Modified:
    trunk/config/meetme.html

Modified: trunk/config/meetme.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/meetme.html?view=diff&rev=337&r1=336&r2=337
==============================================================================
--- trunk/config/meetme.html (original)
+++ trunk/config/meetme.html Wed Feb 14 18:11:23 2007
@@ -76,7 +76,6 @@
 			flags += 'q';
 		if (subfields['room'].length > 0)
 			room = subfields['room'];
-//		return $('name').value + ",1,MeetMe(" + room + "," + flags + "," + subfields['pin'] + "," + subfields['pinadmin'] + ")";
 		return $('name').value + ",1,MeetMe(" + room + "|" + flags + ")";
 	}
 
@@ -95,14 +94,6 @@
 				for (y=0;y<tmp2.length;y++)
 					options[tmp2[y]] = 'yes';
 			}
-//			if (tmp[2])
-//				t.subfields[x].pin = tmp[2];
-//			else
-//				t.subfields[x].pin = '';
-//			if (tmp[3])
-//				t.subfields[x].pinadmin = tmp[3];
-//			else
-//				t.subfields[x].pinadmin = '';
 			if (tmp[0] == '${EXTEN}')
 				t.subfields[x].room = '';
 			else
@@ -237,6 +228,10 @@
 		return tmp;
 	}
 	callbacks.beforeSaving = function(){
+		if ( $('extensions').options[$('extensions').selectedIndex].text == "New Entry" ) {
+			temp_selectedexten = $('name').value ;
+		}
+
 		// check whether the length of extension is valid
 		if( localextenlength !=  $('name').value.length){
 				alert("Sorry, An Extension must be  "+ localextenlength  + " digits !");



More information about the asterisk-gui-commits mailing list