Commit Graph

44 Commits (69a7d806073640976b8593725bef0dd35dcdd6b8)

Author SHA1 Message Date
Dries Buytaert 9f09788e3b - Patch #225527 by dvessel: removed jsEnabled check. 2008-05-19 19:42:18 +00:00
Dries Buytaert a01deb1b1a - Ported a missing Drupal 6.1 security fix. 2008-03-23 14:55:26 +00:00
Dries Buytaert b8a1eab1fb - Patch #210131 by dvessel, catch, John, et al: updated jQuery library. 2008-02-06 19:38:28 +00:00
Gábor Hojtsy 877122a4a1 #201141 by yched: instead of 'HTTP error 200' messages when a PHP error occurs, actually display the PHP error message 2008-01-04 11:53:21 +00:00
Gábor Hojtsy 31b73898af #157752 by quicksketch: extend AHAH functionality to most types of form elements, without writing JavaScript. Also AHAH enable the blocks admin page. 2007-10-05 09:35:09 +00:00
Gábor Hojtsy 216322ac98 #177906 by douggreen: JavaScript cookie detection should use path=/ to avoid broken situations when run at a 'subdirectory' 2007-09-25 14:55:36 +00:00
Gábor Hojtsy 21ac9f1917 #174708 by multiple contributors: update jQuery to 1.2 2007-09-12 18:29:32 +00:00
Dries Buytaert 3ad6d53d81 - Patch #172540 by ChrisKennedy: fixed typo on Drupal.formatPlural(). 2007-09-03 16:55:56 +00:00
Gábor Hojtsy 3cccee7f4a #158687 by drumm: fix URI encoding of some special chars 2007-07-13 20:07:15 +00:00
Dries Buytaert c11cb4ec24 - Patch #120360 by nedjo: enable AJAX by making all behaviours reattachable. 2007-07-01 15:37:10 +00:00
Gábor Hojtsy 57c9a13e1f #118026 by kkaefer with fixes from myself: JavaScript translation support and script.js as a default theme JS file to use, if found 2007-06-08 12:51:59 +00:00
Dries Buytaert 1fe90cba4f - Patch #146667 by Eaton: correct builder argument ordering, eliminate redundant arguments 2007-06-04 07:22:23 +00:00
Steven Wittens 7f8b191781 #119441: JavaScript aggregator/compressor by m3avrck and others. 2007-06-01 09:05:45 +00:00
Gábor Hojtsy c740ac7fd5 #127539: progressive operation support, refactoring update.php code to a generic batch API to support runnning operations in multiple HTTP requests
- update.php is already on the batch API
  - node access rebuilding is in the works
  - automatic locale importing is in the works

 Thanks to Yves Chedemois (yched) for the good code quality, very wide awareness of issues related to batches,
 and the fantastic turnaround times. Hats off.
2007-05-04 09:41:37 +00:00
Dries Buytaert dcbb5fa3f4 - Patch #107061 by Steven et al: add jQuery teaser splitter. 2007-04-09 13:58:03 +00:00
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