diff options
| author | Silvio <silvio@devlet.com.br> | 2011-06-29 14:35:54 -0300 |
|---|---|---|
| committer | Silvio <silvio@devlet.com.br> | 2011-06-29 14:35:54 -0300 |
| commit | 48a23a0517b8df1031e2bbe576ea5e2dae42bec3 (patch) | |
| tree | 042b02fbb073ae18da2bcf98796e5b06ace00686 | |
| parent | 80292fbb321235e521594fadfd2a84f202bacf56 (diff) | |
| download | finder_menu-48a23a0517b8df1031e2bbe576ea5e2dae42bec3.tar.gz finder_menu-48a23a0517b8df1031e2bbe576ea5e2dae42bec3.tar.bz2 | |
Making sure ul2finder() runs only once
| -rw-r--r-- | finder_menu.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/finder_menu.js b/finder_menu.js index bb135ca..e9fecd3 100644 --- a/finder_menu.js +++ b/finder_menu.js @@ -186,5 +186,7 @@ function ul2finder() }
Drupal.behaviors.finderMenu = function() {
- ul2finder();
+ $('#finder:not(.finder-menu-processed)').addClass('finder-menu-processed').each(function() {
+ ul2finder();
+ });
};
|
