Commit Graph

34 Commits (54db3af335d51e3a976dccb8d0838ac9f83b752b)

Author SHA1 Message Date
Angie Byron a6e88a923c #159762 by paul.lovvik and jp.stacey: Fixed Autocomplete errors from whitespace entry. 2009-09-05 12:03:31 +00:00
Dries Buytaert e6e29ac1b0 - Patch #444344 by kkaefer, sun, Rob Loach: this change introduces a jQuery .once() method which streamlines the way behavior functions work. Previously, we had to manually ensure that an element is only initialized once. Usually, this happens by adding classes and selecting only those elements which do not have that class. However, this process can be separated out into a jQuery ‘filtering’ function which does all the grunt work. 2009-08-31 05:51:08 +00:00
Angie Byron 25b9f686a6 #544418 by merlinofchaos, sun, drewish, quicksketch, et al: Integrate CTools AJAX framework with Drupal to extend (and replace) existing ahah framework. Everything about AJAX/AHAH is more betterer now. 2009-08-17 07:12:16 +00:00
Dries Buytaert e49ac650a6 - Patch #310139 by pwolanin, c960657: drupal_query_string_encode() should not call drupal_urlencode(). 2009-07-03 19:21:55 +00:00
Dries Buytaert 08b1bb73f7 - Patch #201269 by Xano; synonym collapsing in core. 2009-06-28 13:37:29 +00:00
Angie Byron fc7283235b #444402 follow-up by kkaefer: Fix autocomplete, enforce code style for anonymous JS functions. 2009-04-27 20:19:38 +00:00
Angie Byron bda52632a5 #444402 by kkaefer and RobLoach: Enforce coding standards on all core JavaScript. 2009-04-26 19:18:46 +00:00
Angie Byron b77475baf5 #360081 by quicksketch: Stop using global variables for JavaScript settings. 2009-03-13 23:15:09 +00:00
Angie Byron ac484c277a #125030 by kkaefer, quicksketch, dvessel, Steven, and John Resig: Allow compatibility with other JavaScript libraries. 2009-02-18 13:46:55 +00:00
Dries Buytaert 5371104a2d - Patch #316225 by sun et al: allow behaviors to detach from AHAH/AJAX. 2008-10-29 10:01:28 +00:00
Angie Byron 430d839569 #231475 by birdmanx35 and redndahead: Coding style for comments in *.js. 2008-10-12 00:29:09 +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 b94f2716cf #184867 by deekayen, catch and keith.smith: fix some spelling errors in our source code and messages printed 2007-10-21 18:59:02 +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 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
Steven Wittens 7f8b191781 #119441: JavaScript aggregator/compressor by m3avrck and others. 2007-06-01 09:05:45 +00:00
Neil Drumm d5e9aad52b #107611 by Steven. Fix bug triggered by pressing enter while results are being fetched. 2007-01-09 07:31:04 +00:00
Steven Wittens 905fd30abb #104537: Fix autocomplete dropdown positioning in IE6 and IE7. 2006-12-30 12:10:00 +00:00
Neil Drumm 3074b97f43 #86384 by AjK and Steve McKenzie. Catch backspace in autocomplete fields. 2006-12-29 07:20:26 +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 ae5e50883c #63630 by Zen, Remove hardcoded statements from the acdb prototype. 2006-05-20 07:23:47 +00:00
Dries Buytaert d071f99172 - Removing trailing whitespace. 2006-04-17 20:48:26 +00:00
Steven Wittens 4821200689 #57415: Replace drupal_implode_autocomplete() by drupal_to_js() 2006-04-06 02:41:48 +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 776a2217a6 #47557, autocomplete broken by Prototype library, patch by yched. 2006-03-26 15:07:54 +00:00
Steven Wittens a1e4655bbc - #44939: Fix Unicode autocomplete in IE 2006-01-22 17:37:41 +00:00
Steven Wittens efd634ac15 - Fix Safari alert when no autocomplete matches are returned. 2006-01-16 16:31:49 +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 72f9229a39 - Patch by Uwe: tidied up CVS IDs. 2005-08-11 13:00:17 +00:00
Dries Buytaert 338a135bfb - Patch #25354 by Thox: fixed Javascript caching. Faster response and less server traffic for matches previously found. 2005-07-03 16:12:55 +00:00
Steven Wittens 91f666b522 - #23506: Fix autocomplete throbber firing on wrong events.
- Add simple throbber to drupal.css
2005-05-25 00:14:42 +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