39 Commits

Author SHA1 Message Date
sam_marshall
0e9d0c0b85 Made it so you can call require_js after header printed (bug 8823) 2007-03-09 12:52:35 +00:00
nicolasconnault
c2a9fc9166 Issue 8417:
Added support for array of tested browsers to be passed to ajaxenabled()
Merged in from MOODLE_18_STABLE
2007-03-01 02:08:06 +00:00
nicolasconnault
d499142e5a Safari 2.0 and Opera 9.0 are now detected and supported for YUI. However, preliminary tests show that drag&drop behaviour is very slow on Opera and user-unfriendly on both browsers. A YUI debug window also pops up on Safari.
I added a unit test for ajaxlib.php

Issue MDL-8417
Merged from MOODLE_18_STABLE
2007-03-01 01:31:37 +00:00
vyshane
604c634179 Reverted require_js() in lib/ajax/ajaxlib.php. Last changes broke backwards compatibility with the way the function worked in Moodle 1.7.
Small change in lib/weblib.php to allow require_js() to be used from themes. To use it, just call the function from themedir/meta.php.
2007-02-12 06:01:49 +00:00
urs_hunkler
c630701958 'add a second parameter to enable YUI loading from header.html in the themes - MDL-8374' 2007-02-09 13:25:48 +00:00
vyshane
f72f94a257 Reworked require_js() so that it will not load libraries more than once.
Related to MDL-7682 and MDL-8374.
2007-02-02 06:35:25 +00:00
vyshane
446d6e7dd0 *** empty log message *** 2007-01-30 04:55:59 +00:00
vyshane
15c331b2e8 Merged from 1.7. 2007-01-29 07:58:47 +00:00
vyshane
c4ca9cb3b2 Merged from 1.7. 2007-01-29 02:22:18 +00:00
skodak
32f0b38a4a MDL-8049 Remove all language=Javascript from javascript includes 2007-01-03 19:33:44 +00:00
vyshane
67c0e16eed Merged from 1.7. 2006-12-14 08:10:41 +00:00
vyshane
e9880ed208 Merged from 1.7. 2006-12-14 04:47:29 +00:00
vyshane
4a5548f928 Merged from 1.7. 2006-12-01 03:46:55 +00:00
vyshane
2f11bfc0a4 Merged from 1.7. 2006-11-27 03:22:28 +00:00
vyshane
d2a11d460a Merged from 1.7. 2006-11-20 09:21:27 +00:00
vyshane
88c5092a50 Merged from 1.7. 2006-11-17 05:54:21 +00:00
vyshane
2a0d551ca5 Merged from 1.7 2006-11-15 08:34:17 +00:00
vyshane
f68a7947bd Merged from 1.7 2006-11-15 08:07:32 +00:00
vyshane
3972629d1f Merged from 1.7 2006-11-14 05:34:38 +00:00
vyshane
d815886370 Merged from 1.7 2006-11-14 03:07:18 +00:00
moodler
479afa41ec Merged ajax fix for MDL-7281 2006-10-30 07:48:02 +00:00
vyshane
c0a35ad61e Merged from 1.7 2006-10-26 07:45:00 +00:00
vyshane
2469f7ea85 Merged from 1.7 2006-10-24 08:11:38 +00:00
vyshane
c081fdcaca Merged from 1.7 2006-10-18 09:47:44 +00:00
vyshane
01059829c2 Merged from 1.7 2006-10-18 08:41:24 +00:00
vyshane
fc2e40e30e Merged from 1.7 2006-10-18 07:42:44 +00:00
vyshane
8b8a8779dc Merged from 1.7 2006-10-18 07:05:21 +00:00
vyshane
4fc45e1dde Merge from 1.7 2006-10-17 05:33:18 +00:00
cap2501
3287cb4cba resolved: MDL-6579
Added strings needed for delete confirmation.
2006-10-08 21:09:18 +00:00
vyshane
35b974dae6 Some small formatting changes.
Added some missing semi-colons in js code.
2006-10-05 08:47:13 +00:00
sam_marshall
4488daf7ad File had a UTF-8 BOM at the start, was causing problems, now removed 2006-09-25 14:59:21 +00:00
sam_marshall
479eea4149 Removed trailing blank line at end of file (was breaking things) 2006-09-25 14:35:41 +00:00
moodler
3e1e2b6968 Putting the files back to plain JS files 2006-09-23 15:11:37 +00:00
moodler
9bb7417805 Further centralising of course AJAX and cleanup of code formatting, names etc 2006-09-23 14:03:48 +00:00
cap2501
e78a3505c5 MDL-6544
resolved issue by passing strings into new main.portal.strings for delocalization.
2006-09-21 18:38:54 +00:00
moodler
669d3ecd7c Some fixes to move Javascript files to PHP script, so that we can
tweak the contents better.

This was supposed to fix MDL-6544 but it didn't work.  Checking it in
because it will help a fix later.
2006-09-21 17:17:00 +00:00
moodler
b2174cc86b FIxed some file paths 2006-08-28 06:57:40 +00:00
cap2501
d4df8fdcae small changes, also de-tabbed and unix fomatted 2006-08-28 02:05:02 +00:00
moodler
0a0bb38019 Ed Coyne's AJAX course format, with some cleanups done.
More cleanups to come from Ed.

This isn't actually working for me right now but he'll fix it now.

This is completely optional and won't affect any other code right now.
2006-08-24 03:20:37 +00:00