aboutsummaryrefslogtreecommitdiffstats
path: root/bugzillaBugTriage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2009-11-16 14:24:09 +0100
committerMatěj Cepl <mcepl@redhat.com>2009-11-16 14:24:09 +0100
commit22d53525ec9195e5d7256da96161fb2ce7d6571d (patch)
tree545ed2034821c4fc0132f259e45873b3c0d77849 /bugzillaBugTriage.js
parent7991060b3493be98375850fc174ac2ecb1f75829 (diff)
downloadbugzilla-triage-22d53525ec9195e5d7256da96161fb2ce7d6571d.tar.gz
Struggling with https://bugzilla.mozilla.org/show_bug.cgi?id=528892
Diffstat (limited to 'bugzillaBugTriage.js')
-rw-r--r--bugzillaBugTriage.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index 99fd70d..f300cb8 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -571,6 +571,7 @@ bzPage.prototype.selectOption = function(id,label) {
var intEvent = $(this.doc).get(0).createEvent("HTMLEvents");
intEvent.initEvent("change", true, true);
selectElement.get(0).dispatchEvent(intEvent);
+// $("#"+id,this.doc).value(label).change();
}
/**
@@ -801,9 +802,10 @@ bzPage.prototype.createXMLRPCMessage = function(login,password,attachId,mimeType
bzPage.prototype.fixAttachById = function(id,type) {
var ret = {};
var msg = this.createXMLRPCMessage(this.login,this.password,id,type);
-// try {
ret = $.post(XMLRPCurl,
msg,this.callBack);
+// spec is http://www.xmlrpc.com/spec
+ // FIXME content-type MUST be text/xml
// // The following is most likely nonsense, because jQuery.post doesn't return
// // with failure. Commenting out for now.
// }