aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-01-13 00:21:24 +0100
committerMatěj Cepl <mcepl@redhat.com>2010-01-13 00:21:24 +0100
commit735b7980f4c1e499809889d321b13a8c23a29565 (patch)
tree5212d231f6adca44ed9dd168baccb404fa50cfd6
parentfe3cb4306264db132978a24209367fe5ee14c85b (diff)
downloadbugzilla-triage-735b7980f4c1e499809889d321b13a8c23a29565.tar.gz
Fix comments
-rw-r--r--bugzillaBugTriage.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index be17161..0b5546f 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -3,33 +3,6 @@
// Released under the MIT/X11 license
// http://www.opensource.org/licenses/mit-license.php
-/* FIXME
- - settings to https://wiki.mozilla.org/Labs/Jetpack/JEP/24 instead of
- jetpack.storage.simple; make conversion from the current system
- - consider offline status
- function newsubmit(event) {
- var target = event ? event.target : this;
-
- // do anything you like here
- alert('Submitting form to ' + target.action);
-
- // call real submit function
- this._submit();
-
- - consider
- https://developer.mozilla.org/en/DOM/document.evaluate and
- https://developer.mozilla.org/en/Introduction_to_using_XPath_in_JavaScript
-}
-
-// capture the onsubmit event on all forms
-window.addEventListener('submit', newsubmit, true);
-
-// If a script calls someForm.submit(), the onsubmit event does not fire,
-// so we need to redefine the submit method of the HTMLFormElement class.
-HTMLFormElement.prototype._submit = HTMLFormElement.prototype.submit;
-HTMLFormElement.prototype.submit = newsubmit;
- */
-
"use strict";
jetpack.future.import("pageMods");
jetpack.future.import("storage.simple");