kukawski/Flash-toggle — Issue #6: When adding button from toolbarpalette to toolbar it doesn't reflect the state of flash plugin
Author: kukawski
Created: 2011-10-20 08:00:07+00:00
State: open

It seems that, when a button isn't placed on the toolbar, but exists in the toolbarpalette, it cannot be found using getElementById and thus the button state cannot be updated at startup to reflect flash plugin state.

-- Expected behavior
When the button is placed on the toolbar it is:
- active and has red icon when flash exists and is enabled
- active and has gray icon when flash is disabled
- disabled and has gray icon when flash isn't installed

-- Current behavior
After adding the button to the toolbar it is always red and active. Clicking it updates its state.