- From: Anssi Kostiainen via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 12 Sep 2011 06:48:17 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/system-info
In directory hutz:/tmp/cvs-serv5518
Modified Files:
battery-status.html
Log Message:
dictionary patch: fix for race condition
Index: battery-status.html
===================================================================
RCS file: /sources/public/2009/dap/system-info/battery-status.html,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- battery-status.html 9 Sep 2011 09:22:27 -0000 1.46
+++ battery-status.html 12 Sep 2011 06:48:15 -0000 1.47
@@ -39,7 +39,9 @@
i;
if (typeof idlbsei === 'object' && typeof idlbse === 'object' &&
- typeof members === 'object' && typeof members_header === 'object') {
+ typeof members === 'object' && typeof members_header === 'object' &&
+ idlbsei.textContent.indexOf('dictionary') != -1 &&
+ idlbse.textContent.indexOf('interface') != -1) {
clearTimeout(_dictionary);
ifbse.removeChild(idlbsei.parentNode);
Received on Monday, 12 September 2011 06:48:23 UTC