Advertisement
LouCypher

Extensions Options Menu

Apr 28th, 2012
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.86 KB | None | 0 0
  1. --- OptionsMenu.js  2012-04-02 11:29:45.059404400 +0700
  2. +++ OptionsMenu.mod.js  2012-04-28 17:45:31.328125000 +0700
  3. @@ -99,7 +99,7 @@
  4.                         item.setAttribute("tooltiptext", EOMaddon.description);
  5.                         item.addEventListener("command", function() {
  6.                             if (EOMaddon.optionsURL)
  7. -                               EOMaddon.optionsType == 2 ? EOMopenApp('addons://detail/' + encodeURIComponent(EOMaddon.id)) : openDialog(EOMaddon.optionsURL, EOMaddon.name, 'chrome,titlebar,toolbar,resizable,scrollbars,centerscreen,dialog=no,modal=no');
  8. +                               EOMaddon.optionsType == 2 ? EOMopenApp('addons://detail/' + encodeURIComponent(EOMaddon.id) + "/preferences") : openDialog(EOMaddon.optionsURL, EOMaddon.name, 'chrome,titlebar,toolbar,resizable,scrollbars,centerscreen,dialog=no,modal=no');
  9.                         }, false);
  10.                         item.addEventListener("click", function(event) {
  11.                             if (EOMquickActions) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement