Commit Graph

19 Commits (10dc538cf152288ce6fde9639983ec80a4bfd1b8)

Author SHA1 Message Date
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