diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-12-14 21:25:08 +0300 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-12-14 21:25:08 +0300 |
commit | b1a56f698613f11ecc49a248e5d0b185f1f0be8e (patch) | |
tree | 2e4aa3bedcb5b7eac3f0d4fc179ed941f5beb7bd /plugins | |
parent | 0906abe67ad2de19bacd5d4d1e2f4fd224e8cc91 (diff) |
refs #389 using the jquery magic so that IE works OK
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/MultiSites/templates/common.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/MultiSites/templates/common.js b/plugins/MultiSites/templates/common.js index 07fa44ebc0..f238598115 100644 --- a/plugins/MultiSites/templates/common.js +++ b/plugins/MultiSites/templates/common.js @@ -150,8 +150,6 @@ function switchEvolution(params) function displayRows(allSites, params) { - var table = document.getElementById('tb'); - var trow = table.insertRow(0); for(var i = 0; i < allSites.length; i++) { var str = params['row']; @@ -167,10 +165,8 @@ function displayRows(allSites, params) str = str.replace(/%main_url%/g, allSites[i].url); str = str.replace(/%date%/g, params['date']); str = str.replace(/%period%/g, params['period']); - trow = table.insertRow(0); - trow.innerHTML = str; - trow.setAttribute('id', 'row_' + allSites[i].idsite); - trow.setAttribute('class', 'table_row'); + + $('#tb').append('<tr class="tables_row" id="row_'+ allSites[i].idsite+'">' + str + '</tr>'); } $(".table_row").show(); |