diff options
author | Chris Johns <chrisj@rtems.org> | 2017-01-12 13:07:13 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-01-12 13:07:13 +1100 |
commit | 9eb8a437bd4a679dd26382aca8f4f8120460cd55 (patch) | |
tree | a64b81f6d4385be823944ca61a439efaee55db0e /common/coverpage | |
parent | coverpage: Update the coverpage to have the table collapse. (diff) | |
download | rtems-docs-9eb8a437bd4a679dd26382aca8f4f8120460cd55.tar.bz2 |
coverpage: Fix the catalogue table id.
Diffstat (limited to 'common/coverpage')
-rw-r--r-- | common/coverpage/static/rtems/js/catalogue.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/coverpage/static/rtems/js/catalogue.js b/common/coverpage/static/rtems/js/catalogue.js index ec52794..74ccbcc 100644 --- a/common/coverpage/static/rtems/js/catalogue.js +++ b/common/coverpage/static/rtems/js/catalogue.js @@ -61,7 +61,8 @@ function paintCatalogue(xml) { var docs = $(xml).find('rtems-docs'); var date = $(docs).attr('date'); var title = $(docs).find('catalogue'); - var id = 'xxx'; + var id = title.text().replace(/\.| |\(|\)|\[|\]/g, '_'); + console.log(id); var table = catalogueHeader(id, title.text(), date); $(docs).find('doc').each(function() { var name = $(this).find('name').text(); |