From 735b7980f4c1e499809889d321b13a8c23a29565 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Wed, 13 Jan 2010 00:21:24 +0100 Subject: Fix comments --- bugzillaBugTriage.js | 27 --------------------------- 1 file changed, 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"); -- cgit