diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-03-25 01:17:49 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-06-05 14:44:00 +0200 |
commit | 3fe9f14f10381242a193d91f7dc8ea0307091f8e (patch) | |
tree | 5e4370700b0d6f5230587e63b4916cea348ac3d4 /data/lib/cc-context.js | |
parent | 89f9e8aac15e6572293bada0a27335111d67403e (diff) | |
download | bugzilla-triage-3fe9f14f10381242a193d91f7dc8ea0307091f8e.tar.gz |
Working on cutting down lines from bug-page-mod.js
Diffstat (limited to 'data/lib/cc-context.js')
-rw-r--r-- | data/lib/cc-context.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/data/lib/cc-context.js b/data/lib/cc-context.js new file mode 100644 index 0000000..38397a9 --- /dev/null +++ b/data/lib/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); +}); |