pari: trunk r83 - in /trunk/config: home.html homeapp.html scripts/astman.js

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Fri Oct 20 08:20:56 MST 2006


Author: pari
Date: Fri Oct 20 10:20:55 2006
New Revision: 83

URL: http://svn.digium.com/view/asterisk-gui?rev=83&view=rev
Log:
uncommented the tools related function in astman.js and removed the hardcoded username & passwords

Modified:
    trunk/config/home.html
    trunk/config/homeapp.html
    trunk/config/scripts/astman.js

Modified: trunk/config/home.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/home.html?rev=83&r1=82&r2=83&view=diff
==============================================================================
--- trunk/config/home.html (original)
+++ trunk/config/home.html Fri Oct 20 10:20:55 2006
@@ -119,8 +119,8 @@
 		<td colspan=2>
 			<table align="center">
 				<tr><td colspan="2"><h2>Asterisk&trade; Configuration Engine</h2></td>
-				<tr><td>Username:</td><td><input disabled=1 id="username" value="admin"></td></tr>
-				<tr><td>Secret:</td><td><input disabled=1 type="password" id="secret" value="secret"></td></tr>
+				<tr><td>Username:</td><td><input disabled=1 id="username"></td></tr>
+				<tr><td>Secret:</td><td><input disabled=1 type="password" id="secret"></td></tr>
 				<tr><td colspan=2 align="center">
 				  <div id="statusbar">
 					<span style="margin-left: 4px;font-weight:bold">&nbsp;</span>

Modified: trunk/config/homeapp.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/homeapp.html?rev=83&r1=82&r2=83&view=diff
==============================================================================
--- trunk/config/homeapp.html (original)
+++ trunk/config/homeapp.html Fri Oct 20 10:20:55 2006
@@ -144,8 +144,8 @@
 		<td colspan=2>
 			<table align="center">
 				<tr><td colspan="2"><h2>Asterisk&trade; Configuration Engine</h2></td>
-				<tr><td>Username:</td><td><input disabled=1 id="username" value="admin"></td></tr>
-				<tr><td>Secret:</td><td><input disabled=1 type="password" id="secret" value="superiaxy"></td></tr>
+				<tr><td>Username:</td><td><input disabled=1 id="username"></td></tr>
+				<tr><td>Secret:</td><td><input disabled=1 type="password" id="secret"></td></tr>
 				<tr><td colspan=2 align="center">
 				  <div id="statusbar">
 					<span style="margin-left: 4px;font-weight:bold">&nbsp;</span>

Modified: trunk/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/scripts/astman.js?rev=83&r1=82&r2=83&view=diff
==============================================================================
--- trunk/config/scripts/astman.js (original)
+++ trunk/config/scripts/astman.js Fri Oct 20 10:20:55 2006
@@ -903,7 +903,7 @@
 	this.setDebug = function(debug) {
 		this.debug = debug;
 	};
-	/*
+
 	this.run_tool = function(tool, callback) {
 		var opt = {
 			method: 'get',
@@ -920,7 +920,7 @@
 		opt.parameters="action=originate&channel=" + encodeURIComponent("Local/" + tool + "@tools") + "&application=noop&timeout=60000";
 		tmp = new Ajax.Request(this.url, opt);
 	}
-	*/
+
 
 	this.clickChannel = function(ev) {
 		var target = ev.target;



More information about the asterisk-gui-commits mailing list