summaryrefslogtreecommitdiff
path: root/lib/scripts/page.js
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2012-05-11 10:33:15 +0200
committerMichael Hamann <michael@content-space.de>2012-05-11 11:34:42 +0200
commit8cb3706df5ad54c654bffb76a69ac0ca1006521e (patch)
tree286cd7e3c2a9a3f0780bcece988bc14f7dc1aada /lib/scripts/page.js
parent2daedc0b7ff9126ebb9855f6b8b39f830bd625ed (diff)
downloadrpg-8cb3706df5ad54c654bffb76a69ac0ca1006521e.tar.gz
rpg-8cb3706df5ad54c654bffb76a69ac0ca1006521e.tar.bz2
Fix nested triggering of the same event
Previously when in an event handler the same event was triggered again, only the handlers for the second event invocation were all executed, the handling of the "outer" event stopped after the handling of the inner event as they both used the same iterator of the hooks array. This caused caching bugs e.g. when both the include and the indexmenu plugin were enabled as both of them load metadata in the cache handler which triggers another renderer cache event.
Diffstat (limited to 'lib/scripts/page.js')
0 files changed, 0 insertions, 0 deletions