]> git.gir.st - VimFx.git/commit
Let un-blacklist remove _all_ matching rules
authorSimon Lydell <simon.lydell@gmail.com>
Wed, 11 Sep 2013 20:24:01 +0000 (22:24 +0200)
committerSimon Lydell <simon.lydell@gmail.com>
Wed, 11 Sep 2013 20:24:01 +0000 (22:24 +0200)
commit06a721cfdf85f815d712261c6e48de796a62ae24
tree5d243a0de17e7ec8dce14f38128ec25c4abc60ad
parentbf2c29aaf51e09b89347ae4cb5b6cc36ebc6ae93
Let un-blacklist remove _all_ matching rules

Previously, only the _first_ matching rule was removed when the user
clicked the "un-blacklist button". But it would be a bummer if the user
clicks to remove the page from the blacklist, and it stays blacklisted.

Therefore _all_ matching rules are displayed and removed. To facilitate
this, the string in the textbox of the toolbar button is treated as a
blacklist of its own, which should be removed from or concatenated with
the blacklist pref. (Which means that the user is now able to add multiple
rules at the same time, should anyone want that.)
extension/packages/button.coffee
extension/packages/utils.coffee
Imprint / Impressum