diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-12-02 21:28:18 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-12-02 21:28:18 +0000 |
commit | eaad4aa2f79cd32ce2c79061d9a23fb69cc5d8eb (patch) | |
tree | b4e5f9d58aafe36f96d65cca6c2bb10cd7472fe0 /misc | |
parent | 7bdd8b3718392c9ec7153b6ae01dcc7fa653ebfb (diff) | |
download | brdo-eaad4aa2f79cd32ce2c79061d9a23fb69cc5d8eb.tar.gz brdo-eaad4aa2f79cd32ce2c79061d9a23fb69cc5d8eb.tar.bz2 |
- Patch #39725 by Goba: improvements to the code comments.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/drupal.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/drupal.js b/misc/drupal.js index 1ddde7516..c2ee52332 100644 --- a/misc/drupal.js +++ b/misc/drupal.js @@ -16,7 +16,7 @@ function isJsEnabled() { return document.jsEnabled; } -// Global Killswitch +// Global Killswitch on the <html> element if (isJsEnabled()) { document.documentElement.className = 'js'; } @@ -38,7 +38,7 @@ if (typeof XMLHttpRequest == 'undefined') { } /** - * Creates an HTTP request and sends the response to the callback function + * Creates an HTTP GET request and sends the response to the callback function */ function HTTPGet(uri, callbackFunction, callbackParameter) { var xmlHttp = new XMLHttpRequest(); @@ -169,7 +169,7 @@ function addLoadEvent(func) { } /** - * Adds a function to the window onload event + * Adds a function to a given form's submit event */ function addSubmitEvent(form, func) { var oldSubmit = form.onsubmit; |