Commit Graph

29 Commits (7228b485f5be522d1fabef26918bf57f5a38a4d7)

Author SHA1 Message Date
Steven Wittens 5ac7267827 - #88439: Update jQuery in core to 1.0.2
- #88642: Change drupal.js function separators to semi-colons.
2006-10-14 02:39:48 +00:00
Steven Wittens 7fd9aa5c8a #69786: jQuery JavaScript Library in Drupal core 2006-08-31 23:31:25 +00:00
Neil Drumm 4fdc90e1d2 #76637 by timcn. Adding some documentation to drupal.js. 2006-08-23 04:59:17 +00:00
Dries Buytaert a8de1e92d7 - Patch #76637 by timnc: streamline JavaScript addition and add settings storage. 2006-08-22 09:00:31 +00:00
Dries Buytaert 3646f8914f - Patch #49993 by Sid_M: fixed two minor problems with HTTPGet().
1) There is a race condition created by calling send() before setting the callback function. Admittedly, this race shouldn't be lost, but it's not good practice to bet on winning races in code.

2) Line 55 is redundant. Since the value of bAsync is based on the non/existence of callbackFunction, there is no need to check both variables later.
2006-08-20 06:22:35 +00:00
Dries Buytaert 7bacdb4353 - Patch #59038 by nedjo: drupal.js parseJson() should allow valid [ first character 2006-06-07 09:34:11 +00:00
Dries Buytaert c3324b9a50 - Patch #58956 by timcn: prevent multiple class names from being glued together. 2006-05-29 14:22:31 +00:00
Steven Wittens 23bd2c005a #60532: multiple file upload broken in some browsers 2006-04-27 18:12:25 +00:00
Steven Wittens a81547d5b3 #57255: Cancel autocomplete requests when the user tabs out of the field 2006-04-05 00:53:16 +00:00
Gerhard Killesreiter 2d1aeff2d1 #53314, upload.module JavaScript broken on Firefox 1.0.x, patch by tenrapid 2006-03-24 13:17:17 +00:00
Steven Wittens d38429248e - #47510: Show JavaScript alert when PHP errors occur 2006-02-05 19:04:58 +00:00
Steven Wittens a1e4655bbc - #44939: Fix Unicode autocomplete in IE 2006-01-22 17:37:41 +00:00
Dries Buytaert ea2d791095 - Patch 41169 by Chris: got rid of expensvie object 2 array casts. 2005-12-31 10:48:56 +00:00
Steven Wittens 5e49dd2a68 - #42446: Resizable textareas. 2005-12-29 03:59:30 +00:00
Steven Wittens 5a37a75966 Fix JS in:
- #31968: IE
- #41743: Safari
2005-12-21 17:29:08 +00:00
Steven Wittens 4b0067ee16 - Oopsie, faulty rcsmerge 2005-12-21 15:04:23 +00:00
Steven Wittens 42f5ddd347 - Clarifying Opera bug to Opera 8 2005-12-21 15:03:32 +00:00
Dries Buytaert 0212f66ff1 - Patch #40677 by Steven: make the updater work again. 2005-12-19 14:27:28 +00:00
Dries Buytaert a19acb219e - Patch #35924 by Neil: improved the update system. 2005-12-06 09:25:22 +00:00
Dries Buytaert eaad4aa2f7 - Patch #39725 by Goba: improvements to the code comments. 2005-12-02 21:28:18 +00:00
Dries Buytaert f6764cfbd8 - Patch #30930 by m3avrck/deekayen: cured PHP5 warnings. 2005-10-22 15:14:46 +00:00
Steven Wittens 7f73c2bfb2 Fixes for AJAX/JS stuff in Konqueror:
- Fix collapsible fieldsets (broken since to 'IE5 icons alignment' fix)
- Fix JS upload (broken due to mysterious form submission abortion bug)

Thanks Bèr for letting me use VNC :).
2005-09-07 13:49:39 +00:00
Dries Buytaert e03ce2f996 - Patch #28483 by Steven: JavaScript enabled uploading.
Comment from Steven: It does this by redirecting the submission of the form to a hidden <iframe> when you click "Attach" (we cannot submit data through Ajax directly because you cannot read file contents from JS for security reasons).  Once the file is submitted, the upload-section of the form is updated.  Things to note:

    * The feature degrades back to the current behaviour without JS.
    * If there are errors with the uploaded file (disallowed type, too big, ...), they are displayed at the top of the file attachments fieldset.
    * Though the hidden-iframe method sounds dirty, it's quite compact and is 100% implemented in .js files. The drupal.js api makes it a snap to use.
    * I included some minor improvements to the Drupal JS API and code.
    * I added an API drupal_call_js() to bridge the PHP/JS gap: it takes a function name and arguments, and outputs a <script> tag. The kicker is that it preserves the structure and type of arguments, so e.g. PHP associative arrays end up as objects in JS.
    * I also included a progressbar widget that I wrote for drumm's ongoing update.php work. It includes Ajax status updating/monitoring, but it is only used as a pure throbber in this patch. But as the code was already written and is going to be used in the near future, I left that part in. It's pretty small ;). If PHP supports ad-hoc upload info in the future like Ruby on Rails, we can implement that in 5 minutes.
2005-08-31 18:37:30 +00:00
Dries Buytaert aa39f5c787 - Patch #29095 by Moshe: fixed parse error in drupal.js. 2005-08-18 05:14:06 +00:00
Dries Buytaert 72f9229a39 - Patch by Uwe: tidied up CVS IDs. 2005-08-11 13:00:17 +00:00
Dries Buytaert 9f67ddf986 - Patch #23746 by Thox: added support for Ajax HTTPPost functionality. 2005-07-18 12:56:45 +00:00
Dries Buytaert e550f84162 - Patch #16204 by Thox: committed the collapsible form elements patch.
NOTE: this patch works well, but the improved node edit form still has
        some rough edges.  It is important that we continue to improve
        usability.  Give it a try.
2005-06-21 09:45:45 +00:00
Steven Wittens cb5b2f332c - #24068: Fix "undefined is undefined" error in IE5 with drupal.js 2005-06-01 17:43:33 +00:00
Steven Wittens 58bddf8abc * cue Star Wars theme tune *
Return of the JavaScript!

- #22519: form_autocomplete(): Ajax based autocompletion. Currently used for user names and folksonomy tags.
2005-05-24 06:00:22 +00:00