Stop Firefox extension popupset hiding automatically

I am creating a Firefox extension. I have a popupset that is shown when a toolbar button is clicked and also has working code to close the popup manually.

The problem is that the popupset disappears whenever I click somewhere else. I would like to disable this automatic closing behavior. I'm sure I've seen a popupset or panel attribute to control this, but can't find the link anymore. Does anyone know how to do this?

+1


source to share


1 answer


Sorting. I'm a twist. Turns off the noautohide attribute that can be placed on the panel:

<popupset>
    <panel noautohide="true">
        <!-- insert further content here -->
    </panel>
</popupset>

      



I have searched for popupset attributes to no avail.

0


source







All Articles