Dan Poltawski
f715dc3fd5
Merge branch 'MDL-33573-master-1' of git://git.luns.net.uk/moodle
2012-06-18 15:35:05 +08:00
Andrew Robert Nicols
255dd8d1e2
MDL-33482 Replaced modchooser with chooserdialogue
2012-06-07 18:09:14 +08:00
Andrew Robert Nicols
928cc791e6
MDL-33573 Remove anchor from activity chooser link until JS is ready
2012-06-07 10:15:52 +01:00
Rajesh Taneja
eb01aa2c34
MDL-33367 course: move_section reuse move_section_to function
...
Conflicts:
course/lib.php
2012-06-05 09:34:14 +08:00
Dan Poltawski
786cd60ee3
Merge branch 'MDL-32824-master-2' of git://git.luns.net.uk/moodle
...
Conflicts:
course/format/weeks/format.js
course/format/weeks/lib.php
2012-05-29 15:21:55 +08:00
Sam Hemelryk
d8a05d83b5
Merge branch 'MDL-32752-master-1' of git://git.luns.net.uk/moodle
2012-05-28 14:56:06 +12:00
Ruslan Kabalin
9f3015ecf8
MDL-32824: Make dragdrop work correctly with section titles/links
...
Initially, the default section title was swapped within the course format
javascript functions. Though some section titles may be custom and does not
require swapping, in addition they may have links to single section view. This
introduces some callback functions for define what needs to be done in
sections libs and js files.
2012-05-25 11:39:44 +01:00
Ruslan Kabalin
243e9bf984
MDL-32752: Drag-drop: Follow the ghost note if the drop target is missed.
...
Simulate drop_hit and substitute target of where ghost node was dropped last
time.
2012-05-21 13:59:44 +01:00
Ruslan Kabalin
405eaac272
MDL-32744: Maintain format specific CSS selectors in the format configuration.
...
This updates existing core formats and introduce a configuration function.
2012-05-21 13:53:04 +01:00
Andrew Robert Nicols
2d1151817f
MDL-30617 Center dialogue title
2012-05-18 10:28:53 +01:00
Andrew Robert Nicols
af75421c54
MDL-30617 Adjustments to styling of module chooser
...
These changes fix several points and suggested changes:
* increase the size of the help popup to 800x600
* fix issues with centering of the dialogue
* swap next/cancel buttons
* convert next button to use string for 'Add'
* convert add text to 'Add an activity or resource'
2012-05-18 10:10:20 +01:00
Dan Poltawski
46e046b7b3
MDL-30617 modchoser: minor tweaks
...
* Change markup way from 'activity module style' to its own markup
* Remove 'a new' from the 'add an activity' string
* Remove the 'personalisation' from the nohelp lang string
2012-05-18 00:27:42 +08:00
Andrew Robert Nicols
01e0e7044a
MDL-30617 Add a javascript interface for adding modules to a course
...
This interface allows for additional metadata, such as the module's help
and icon, to be displayed.
2012-05-18 00:27:16 +08:00
Dan Poltawski
bc449b18a6
Merge branch 'MDL-33025-master-1' of git://git.luns.net.uk/moodle
2012-05-17 21:19:37 +08:00
Andrew Robert Nicols
537194ffc5
MDL-33073 Fix application of toolbox JS for drag/dropped content
2012-05-17 11:49:53 +01:00
Andrew Robert Nicols
c9cbb5a9bf
MDL-33025 Ensure that hitting cancel clears the resource title editor
2012-05-16 10:56:45 +01:00
Andrew Robert Nicols
e0319e7be7
MDL-33025 Ensure that popups aren't triggered when editing resource titles
2012-05-16 10:46:09 +01:00
Andrew Robert Nicols
7a9a07d24a
MDL-31215 Add the ability to change activity titles using AJAX calls
2012-05-14 14:22:02 +01:00
Sam Hemelryk
b3c35188b0
MDL-32654 course-toolbox: Fixed up JS issue caused by incorrect selector
2012-05-09 10:55:17 +12:00
Sam Hemelryk
73002f1992
Merge branch 'MDL-32654-master-2' of git://git.luns.net.uk/moodle
...
Conflicts:
course/yui/toolboxes/toolboxes.js
2012-05-09 09:32:01 +12:00
Andrew Robert Nicols
45b364b92c
MDL-32654 Improve course javascript status spinner
2012-05-08 09:12:15 +01:00
Sam Hemelryk
4ecbd65d32
Merge branch 'MDL-32681-master-2' of git://git.luns.net.uk/moodle
2012-05-08 11:14:12 +12:00
Sam Hemelryk
42708cbeb1
Merge branch 'MDL-32743-master-2' of git://git.luns.net.uk/moodle
2012-05-08 11:05:53 +12:00
Dan Poltawski
b766edea0a
Merge branch 'MDL-32745-master-1' of git://git.luns.net.uk/moodle
2012-05-07 10:18:06 +08:00
Andrew Robert Nicols
5bd03e12fa
MDL-32743 Set resource anchor correctly following course ajax changes
2012-05-03 16:25:56 +01:00
Andrew Robert Nicols
178f351480
MDL-32745 Don't apply course ajax to site_main_menu block
2012-05-03 14:27:43 +01:00
Ruslan Kabalin
d95b77bdb7
MDL-32657: Add format.js for topics format and remove default
...
Using topics format as default is not a great idea, as we can end up
half-working dragdrop for some formats. With the current soiution, drag-drop
will not work for format, unless required js functions have been created in
format.js
2012-05-02 09:42:06 +01:00
Andrew Robert Nicols
19d041bf2b
MDL-32681 Only add drag/drop icons if moveup/movedown icons are present
2012-05-01 09:52:46 +01:00
Ruslan Kabalin
c77582fe42
MDL-32657: course dragdrop: define elements changes within the format
...
It allows to define M.course.format.swap_sections and
M.course.format.get_section_selector in the course format javascript file, so
that course dragdrop is aware about perculiar layout and changes that need to
be done when sections are swapped.
2012-04-27 15:01:02 +01:00
Andrew Robert Nicols
95ef704d7d
MDL-31096 Handle addition/removal of mod-indent-huge to match non-ajax display
2012-04-26 11:02:39 +01:00
Andrew Robert Nicols
eac3ed52c7
MDL-31096 Add hiding of activity descriptions
2012-04-26 10:40:32 +01:00
Andrew Robert Nicols
9d40f585da
Revert MDL-31215 Add the ability to change activity titles using AJAX calls
...
This *partially* reverts commit 6a14c4ffdd
.
Note however parts of that commit were unrelated and haven't been
reverted.
2012-04-26 17:25:06 +08:00
Andrew Robert Nicols
6a14c4ffdd
MDL-31215 Add the ability to change activity titles using AJAX calls
2012-04-24 13:25:49 +08:00
Ruslan Kabalin
15e2552f00
MDL-31216 Create dragdrop course module
2012-04-23 21:28:39 +01:00
Andrew Robert Nicols
ebaa29d107
MDL-31096 Convert course resource/section javascript to YUI3 Module
...
AMOS BEGIN
MOV [hideweekfromothers,moodle],[hidefromothers,format_week]
MOV [showweekfromothers,moodle],[showfromothers,format_week]
MOV [hidetopicfromothers,moodle],[hidefromothers,format_topics]
MOV [showtopicfromothers,moodle],[showfromothers,format_topics]
AMOS END
2012-04-23 21:28:39 +01:00
Andrew Robert Nicols
cd6081f558
MDL-31096 Create generic coursemodule javascript library
...
This library handles registration and invocation of calls for other
libraries. It allows us to register javascript modules containing functions
which may called dynamically later on, for example when adding a resource
or section dynamically
2012-04-23 21:18:17 +01:00