Commit f9035a1d authored by Fabien Morin's avatar Fabien Morin

here is enought to filter on td instead of everything (will be faster). Thanks

Nicolas Dumazet for notice it


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35549 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 962a05e6
...@@ -155,7 +155,7 @@ function GetElementsWithClassName(elementName,className) { ...@@ -155,7 +155,7 @@ function GetElementsWithClassName(elementName,className) {
} }
return elemColl; return elemColl;
} }
var class_deletaged_list = GetElementsWithClassName('*','delegated'); var class_deletaged_list = GetElementsWithClassName('td','delegated');
for(var i=0; i<class_deletaged_list.length; i++) { for(var i=0; i<class_deletaged_list.length; i++) {
element = class_deletaged_list[i].childNodes[1]; element = class_deletaged_list[i].childNodes[1];
if (element.type == 'hidden'){ if (element.type == 'hidden'){
......
...@@ -155,7 +155,7 @@ function GetElementsWithClassName(elementName,className) { ...@@ -155,7 +155,7 @@ function GetElementsWithClassName(elementName,className) {
} }
return elemColl; return elemColl;
} }
var class_deletaged_list = GetElementsWithClassName('*','delegated'); var class_deletaged_list = GetElementsWithClassName('td','delegated');
for(var i=0; i<class_deletaged_list.length; i++) { for(var i=0; i<class_deletaged_list.length; i++) {
element = class_deletaged_list[i].childNodes[1]; element = class_deletaged_list[i].childNodes[1];
if (element.type == 'hidden'){ if (element.type == 'hidden'){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment