bkruse: trunk r1501 - in /trunk: ./ config/digital.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Thu Aug 30 22:35:53 CDT 2007
Author: bkruse
Date: Thu Aug 30 22:35:53 2007
New Revision: 1501
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1501
Log:
Merged revisions 1500 via svnmerge from
https://origsvn.digium.com/svn/asterisk-gui/branches/1.4
........
r1500 | bkruse | 2007-08-30 22:35:07 -0500 (Thu, 30 Aug 2007) | 5 lines
More changes for digital, getting closer!
About to integrate the event system for
doing onclicks/dropdown menus/ save changes
etc.
........
Modified:
trunk/ (props changed)
trunk/config/digital.html
Propchange: trunk/
------------------------------------------------------------------------------
--- branch-1.4-merged (original)
+++ branch-1.4-merged Thu Aug 30 22:35:53 2007
@@ -1,1 +1,1 @@
-/branches/1.4:1-1291,1293,1298-1300,1326,1332,1336-1338,1342,1346,1349,1356,1359,1362,1381,1384,1395,1399,1402,1413,1416,1426,1432,1435,1439,1442,1455,1458,1465,1471,1475,1478,1481,1488,1491,1494,1497
+/branches/1.4:1-1291,1293,1298-1300,1326,1332,1336-1338,1342,1346,1349,1356,1359,1362,1381,1384,1395,1399,1402,1413,1416,1426,1432,1435,1439,1442,1455,1458,1465,1471,1475,1478,1481,1488,1491,1494,1497,1500
Modified: trunk/config/digital.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/digital.html?view=diff&rev=1501&r1=1500&r2=1501
==============================================================================
--- trunk/config/digital.html (original)
+++ trunk/config/digital.html Thu Aug 30 22:35:53 2007
@@ -175,6 +175,10 @@
gui_alert("This is a place holder, if you see this its probably because you need to run ztcfg, and running it is not in this page yet.");
}
+function option_clicked(a) {
+ /* place holder for the option clicked callback for the event. */
+ return true;
+}
function digitalparse(n) {
var l, h;
@@ -218,7 +222,6 @@
if(fieldnames[i] == 'lbo' && n[l][fieldnames[i]] == "NODEF") {
old_zap = 1;
td.appendChild(document.createTextNode("N/A"));
- td.tip="en,digital,2";
tr.appendChild(td);
continue;
}
@@ -226,7 +229,6 @@
if(n[l][fieldnames[i]] == "NODEF") {
old_zap = 1;
td.appendChild(document.createTextNode("N/A"));
- td.tip="en,digital,1";
tr.appendChild(td);
continue;
}
@@ -248,6 +250,7 @@
}
}
td.appendChild(document.createTextNode(n[l][fieldnames[i]]));
+ td.setAttribute("id", l + '-' + fieldnames[i]);
tr.appendChild(td);
}
box.appendChild(tr);
@@ -258,6 +261,8 @@
parent._$('tooltip').innerHTML = "<B>Framing/Coding/Line Build Out:</B><br>To see this requires rev: 2986 of the 1.4 branch of zaptel.";
}
+ add_events_all(); /* add out event listeners for onclick to change them. */
+ //ASTGUI.events.add( _$(l + '-' + fieldnames[i]), 'click', option_clicked);
_$('tablecontainer').style.display="";
_$('tablecontainer').style.visibility="";
@@ -266,6 +271,9 @@
return true;
}
+function add_events_all() {
+ /* get all elements by type span-field eg 1-fac then add event for click */
+}
function update_sysinfo(){
parent.astmanEngine.run_tool(asterisk_guiSysInfo , onSuccess = function() {
_$('status_message').style.display='none';
More information about the asterisk-gui-commits
mailing list