bkruse: branch asterisknow r1502 - in /branches/asterisknow: ./ config/
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Thu Aug 30 22:36:03 CDT 2007
Author: bkruse
Date: Thu Aug 30 22:36:03 2007
New Revision: 1502
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1502
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:
branches/asterisknow/ (props changed)
branches/asterisknow/config/digital.html
Propchange: branches/asterisknow/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Thu Aug 30 22:36:03 2007
@@ -1,1 +1,1 @@
-/branches/1.4:1-1296,1316,1326,1332,1336-1338,1342,1346,1356,1362,1381,1384,1395,1399,1402,1413,1416,1426,1432,1435,1439,1442,1455,1465,1475,1478,1481,1488,1491,1494,1497
+/branches/1.4:1-1296,1316,1326,1332,1336-1338,1342,1346,1356,1362,1381,1384,1395,1399,1402,1413,1416,1426,1432,1435,1439,1442,1455,1465,1475,1478,1481,1488,1491,1494,1497,1500
Modified: branches/asterisknow/config/digital.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/digital.html?view=diff&rev=1502&r1=1501&r2=1502
==============================================================================
--- branches/asterisknow/config/digital.html (original)
+++ branches/asterisknow/config/digital.html Thu Aug 30 22:36:03 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