aboutsummaryrefslogtreecommitdiffstats
path: root/bugzillaBugTriage.js
diff options
context:
space:
mode:
Diffstat (limited to 'bugzillaBugTriage.js')
-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");