aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-05-28 13:18:44 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-06-05 14:53:47 +0200
commit70800020bb6731136f1df1fd42f7de1607cd2767 (patch)
tree0f8391ba03e9edd9d6b57a00135ff45d32cc890c /data
parent9954df923e6b54a4cf6bf66c5eaa1306197c21bc (diff)
downloadbugzilla-triage-70800020bb6731136f1df1fd42f7de1607cd2767.tar.gz
Use new tab.attach() internal page-mod method of creating new upstream bug.
Fixes #100
Diffstat (limited to 'data')
-rw-r--r--data/internalMods/createBugElsewhere.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/internalMods/createBugElsewhere.js b/data/internalMods/createBugElsewhere.js
new file mode 100644
index 0000000..a20257f
--- /dev/null
+++ b/data/internalMods/createBugElsewhere.js
@@ -0,0 +1,6 @@
+function fillTheForm(data) {
+ var elems = document.forms.namedItem('Create').elements;
+ elems.namedItem('short_desc').value = data.subject;
+ elems.namedItem('comment').value = data.comment;
+ self.postMessage("done!");
+};