diff options
author | Silvio <s1lv10@uol.com.br> | 2009-10-27 11:04:58 -0200 |
---|---|---|
committer | Silvio <s1lv10@uol.com.br> | 2009-10-27 11:04:58 -0200 |
commit | 0f9c9f414edf2d9e19f5c970ddb73188f61e5494 (patch) | |
tree | 67b42f5f5225ed6632f557dc771e1258f79b10df | |
parent | d56eeeaeb6a65319b827973a41338bf1fb8c8653 (diff) | |
download | finder_menu-0f9c9f414edf2d9e19f5c970ddb73188f61e5494.tar.gz finder_menu-0f9c9f414edf2d9e19f5c970ddb73188f61e5494.tar.bz2 |
Using valid id values for ul elements (2)
-rw-r--r-- | finder_menu.js | 2 | ||||
-rw-r--r-- | finder_menu.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/finder_menu.js b/finder_menu.js index 378e743..9de4f56 100644 --- a/finder_menu.js +++ b/finder_menu.js @@ -51,7 +51,7 @@ function ul2finder() // setup the link
ref = lis[i].getElementsByTagName('a')[0];
- ref.id = 'finder-' + i;
+ ref.id = 'finder_' + i;
window.finderOpened[ref.id] = false;
// if the user clicks on the link
diff --git a/finder_menu.module b/finder_menu.module index a372112..dcd6fb1 100644 --- a/finder_menu.module +++ b/finder_menu.module @@ -167,7 +167,7 @@ function finder_menu_build($menu, $id, $class, &$level = NULL) { $level = 0; } else { - $output = '<ul id="'. $id .'-ul-'. $level .'" class="'. $class .'">'; + $output = '<ul id="'. $id .'_ul_'. $level .'" class="'. $class .'">'; } foreach ($menu as $menu_item) { |