dongsheng
e189ec00f0
"MDL-18486, remove php varible from file picker code, all javascript code goes into a static file"
2009-04-20 08:53:21 +00:00
dongsheng
159840f02b
"FORMSLIB,EDITOR/MDL-16698, add filepicker to editor element"
2009-02-18 02:18:06 +00:00
tjhunt
740939ec61
MDL-16654 Move javascript used by the emoticons help file from javascript.php to javascript-static.js. Fix it so that it actually works.
2008-09-25 10:07:11 +00:00
tjhunt
77241d9bd1
MDL-16671 - Move openpopup out of javascript.php and in to javascript-static.js
2008-09-25 03:14:24 +00:00
tjhunt
c849ed1e1e
MDL-16583 - Clean up javascript: Move some static scripts out of javascript.php and into javascript-static.js. Also, ensure the HTML editor JS is only included if the user has chosen to use the HTML editor.
2008-09-24 09:32:46 +00:00
skodak
53b20fe35a
MDL-16637 removing obsoleted spellchecker support
2008-09-23 15:12:07 +00:00
dongsheng
765943edc6
MDL-13766, mulit-filepicker in htmleditor worked.
2008-08-05 08:12:21 +00:00
scyrma
eec1d200b5
MDL-4346: limiting the 'defer' clause to one call / fix the missing openpopup() bug in IE. (merge from 1.9)
2008-07-18 07:14:58 +00:00
dongsheng
23360b81dd
"MDL-13233, replace the uses of old files to new ones, see tracker"
2008-05-07 03:08:44 +00:00
jerome
52cc2b7af8
MDL-14439 IE and Opera fire the onchange when ever you move into a dropdwown list with the keyboard - this changes fix the problem. Merged from 19.
2008-05-02 02:45:18 +00:00
nicolasconnault
8f9607dbc8
MDL-12389 Added a new getElementsByClassName function in lib/javascript.php, added the selectallornone formslib element, modified the advcheckbox element to support the group variable, and implemented the new element in grade_export_form
2007-12-03 20:13:01 +00:00
nicolasconnault
8f6e4392d2
Adding latest version of overlib with all plugins, into its own directory. Updated lib/javascript.php to point to this instead of the old one, which is still in lib/overlib.js
2007-08-08 09:42:11 +00:00
sam_marshall
7470d6de7a
MDL-10249 Created addonload JavaScript function that can be used to add onload handlers, instead of using <body onload> which breaks things.
2007-06-25 14:38:02 +00:00
moodler
ae3e06dd24
Merged brackets fixes from stable
2007-05-15 07:50:19 +00:00
moodler
f6994e71fa
Flash-based filters are now strrrrrrrict AND accessible! MDL-7889
...
Unfortunately this is only possible using Javascript to rewrite the DOM, so this means Flash content won't work without Javascript on.
MDL-7861
2007-01-08 11:55:18 +00:00
skodak
c7225fe291
MDL-8062 chat, login page and messaging - removed name attribute from some <form>s and fixed focus; changed set_focus() JS to accept element ID == the $focus parameter in print_header() + other minor Strict XHTML fixes
2007-01-03 20:35:09 +00:00
moodler
a09f3b7db6
Removed some language=Javscript attributes ... we need to remove all of them!
2007-01-03 09:09:25 +00:00
moodler
ad897001c2
Added CDATA to Javascript
2006-12-22 04:17:56 +00:00
jamiesensei
19194f825a
added setAdvanced MoodleQuickForm method. And added closeHeaderAfter method
2006-12-14 12:44:10 +00:00
julmis
c2db12af42
Adding tinymce needed defaults and new $CFG property 'editorsrc'
2006-03-04 14:52:50 +00:00
mjollnir_
82c859921b
Added selectall/deselectall to files/index.php
2006-01-11 02:26:26 +00:00
mjollnir_
861efb1937
Allow moving courses and editing courses and stuff from the course results search page (now has turn editing on button)
2005-09-01 04:48:22 +00:00
stronk7
e36f3098f8
Core changes finished. Now javascripts URLs support
...
HTTPSPAGEREQUIRED properly. Ready to start protecting pages.
Merged from MOODLE_15_STABLE
2005-07-14 22:36:40 +00:00
moodler
338cfbb8f1
Commented out hover hack ... see bug 3453
2005-06-09 21:10:56 +00:00
urs_hunkler
3b32704597
The tabs do not show the CSS rollover in MSIE. With the behavior "csshover.htc" MSIE behaves as the other browsers. I added the code to load this behavior via CSS to "javascript.php", because I think this is the best place to handle the behavioral layer of moodle. Perhaps it makes sense to rename it to "behavior.php"???
2005-05-17 07:06:58 +00:00
defacer
7979105c62
If Javascript is enabled, make IE fix the block sizes after the page loads
...
so that it's not a mess to look at.
2005-05-12 14:45:16 +00:00
defacer
865da14944
Fix for bug 2902: Now you can set $focus in print_header to anything, and
...
it will never generate a JS error.
2005-04-20 01:32:18 +00:00
moodler
47aa42e211
Re-arranged static Javascript a bit
2005-04-16 12:30:48 +00:00
moodler
4cff67d66b
FIxed an XHTML error
2005-02-28 16:26:06 +00:00
urs_hunkler
c24a1ccd08
I added all code to handle the cookies and the sideblock content, the icon and the patches for hiding/showing the content of the sideblocks.
...
How it works:
_ within the "sideblockheading" a DIV with class="hide-show" holds a link calling the JS containerDisplaySwitching(). To the user it's represented by the icon "switch.gif" (a plus in a square) at the right end side of the header.
_ all content of the sideblock is surounded by a new <div class="blockcontent" id="'.$attributes['id']."_cont\">"
_ a call of the JS containerDisplaySwitching() changes the state of the appropriate DIV with the content to "display:none/inline" and writes this state into a cookie.
_ at the end of every block I added a call to the JS "containerDisplaySet()". This reads the block's state and hides the content or leaves it visible with every page load.
_ in the stylesheet I added the positioning of the icon:
.sideblockheading .hide-show {
float:right;
}
.sideblockheading a img.hide-show-image {
padding-top:0.25em;
}
2005-02-05 21:37:53 +00:00
gustav_delius
b18a43275c
if you use \n in single-quoted strings it will not be converted to a line break.
2005-01-13 17:53:23 +00:00
moodler
63d288118a
Split up the Javascript stuff into static and non-static.
...
This will reduce the size of each page somewhat.
2005-01-09 15:10:12 +00:00
moodler
6b94a807d2
Merged new MOODLE_INTERNAL constant from stable, used to prevent
...
direct access to some scripts
2004-12-12 04:33:13 +00:00
moodler
05bd797a37
Addeda type to the javascript
2004-09-07 08:12:40 +00:00
defacer
15a94ad920
Attention to detail: this prevents generating a warning if $focus is not set.
...
Of course, the warning is hidden inside JS and thus invisible to the naked eye.
2004-08-23 08:34:51 +00:00
julmis
186d52b68a
Winmerge added weird extra lines?
...
Removed those extra lines.
2004-08-21 12:52:33 +00:00
julmis
eb2042f685
Add editor settings feature and Ludo's (Marc Alier) spellchecking functionality.
...
- Needs testing and should consider unstable.
2004-08-21 10:12:09 +00:00
moodler
d26924c4ec
Load overlib.js as an external Javascript file, on all pages
2004-01-23 08:51:17 +00:00
moodler
47037513fe
Goodbye Richtext editor!
...
This does not affect any of the existing modules - I've kept some
stub functions to retain backward compatibility.
2003-11-03 15:17:21 +00:00
moodler
86aa7ccfdf
New feature - "Web link" resources can now specify a popup window
...
fullscreen is currently the only feature left out of this .. I had
trouble getting it to work consistently so I've left it out as being
more troubles than it's worth.
2003-07-20 13:53:31 +00:00
moodler
c6a0f9d5bf
Minor touch-ups to the front page HTML
2003-05-15 14:02:13 +00:00
moodler
e825f27967
New pop-up help page about smileys - clicking on the smiley inserts it
...
into the form using Javascript!
Also rationalised and patched some of the other help about text formats.
LANGUAGE EDITORS MAY WANT TO RE-CHECK:
lang/en/help/textformat.html
2003-05-08 16:09:30 +00:00
moodler
dc1dc6e973
Added function to check everything on a page
2003-02-17 17:02:56 +00:00
moodler
2ec69fce6a
Added a function useful for debugging Javascript problems
2002-10-12 04:09:51 +00:00
moodler
0095d5cd3c
Additions to cope with richtext editor being used in some forms.
2002-10-10 07:26:10 +00:00
martin
7185779262
Fixed name in popup javascript window
2002-09-16 07:03:33 +00:00
martin
f9903ed0a4
Initial revision
2001-11-22 06:23:56 +00:00