Descriptionwindow.close() doesn't work in the popover on Safari. So we had to use safari.self.hide() instead, see http://codereview.adblockplus.org/5768552254537728/. However this isn't really the same. It just hides the popover and will show it again with the same state, when you click the toolbar item again. So we also have to make sure that the bubble is reloaded when it is shown the next time.
Patch Set 1 #
MessagesTotal messages: 3
|