diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-03-24 01:05:40 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-03-24 01:05:40 +0100 |
commit | 23fb75565611af1e85455844be1d8931efe0a0a4 (patch) | |
tree | 49b5fd13b41e4a311db3fa73717c8fe8001b396c /data/js/cc-context.js | |
parent | 2e5993bc9bd0d468f4e9d12dd39e0548ba9adda1 (diff) | |
parent | 0d4cd0b6cf83e697adf35c27c3d20ae137012db3 (diff) | |
download | bugzilla-triage-23fb75565611af1e85455844be1d8931efe0a0a4.tar.gz |
Merge branch 'Ehsan' into bugzillatweaks
Conflicts:
lib/main.js
package.json
Diffstat (limited to 'data/js/cc-context.js')
-rw-r--r-- | data/js/cc-context.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/data/js/cc-context.js b/data/js/cc-context.js new file mode 100644 index 0000000..38397a9 --- /dev/null +++ b/data/js/cc-context.js @@ -0,0 +1,8 @@ +on('click', function(node, data) { + var style = document.getElementById("bztw_cc"); + style.disabled = !style.disabled; +}); + +on('context', function(node) { + return onBugzillaPage(document.URL); +}); |