Dan Poltawski
834f1b66d4
MDL-54890 course: remove erranous duplicated switch label
...
Detected by eslint rule 'no-duplicate-case'
2016-06-10 10:06:28 +01:00
Marina Glancy
f59f89b4a8
MDL-52869 course: use inplace_editable for activity names
2016-03-15 17:19:38 +08:00
Jan C. Dageförde
ee20bdcb8a
MDL-51679 course: Update groupmode CSS class
...
Changing groupmode of an activity via AJAX did not change the button's CSS class accordingly.
2015-10-14 14:33:20 +02:00
Syxton
60cf074239
MDL-48947 course: Section button cleanup
...
Creates a new method of handling all the section related icons.
Including a new method that places these actions in a menu for topic and
weeks course formats. (This version replaces "Edit" with "Topic/Week/or
Section menu")
2015-09-17 10:40:31 -04:00
Neill Magill
ccfb9b69db
MDL-50971 ActionMenu: Action menus cause page to jump when closing
...
This patch changes the behavior of open action menus when using a mouse.
Before this patch when clicking on the page with an open action menu the focus would be
returned to the action menu's call button. This could cause the page to jump when a
mouse user did not close an action menu, scrolled and then tried to perform another
action on the page.
After this patch when clicking the focus will not be returned to the action menu's call button.
The behavior of the script will not be changed when using the keyboard.
2015-08-28 12:13:16 +01:00
Dan Poltawski
f79860257a
MDL-50749 js: add some TODOs to some small hacks
2015-07-07 08:48:32 +01:00
Charles Fulton
8d1cdd0139
MDL-50749 course: add fake element for behat compatibility
2015-07-03 18:43:46 +00:00
jinhofer
253db9dea7
MDL-49901 course/yui: Changed action for course format
2015-04-16 14:22:17 -05:00
Andrew Nicols
2fafa90bdd
MDL-48918 course: Fix keyboard drag/drop after dropped resource
2015-03-06 12:37:28 +08:00
Andrew Nicols
557f44d970
MDL-48620 JavaScript: Updated shifted files to comply with coding style
2015-01-23 14:51:24 +08:00
Eric Merrill
6f0776b6ff
MDL-48643 Javascript: Create modals hidden, then show, to prevent scroll
...
Modal dialogs need to be created with visible: false and then call
.show() on it to make it visible. This prevents the page from jumping to
the top.
2014-12-21 22:54:25 -05:00
Andrew Nicols
f6749ba690
MDL-46491 course: Correct activity visibility on section show
2014-12-11 14:48:25 +08:00
Andrew Nicols
b791ee3d89
MDL-34737 Course: Modchooser should use coursebase to determine the section class
2014-05-22 12:30:32 +08:00
Andrew Nicols
1f777e5c6c
MDL-41987 Javascript: Tidy up YUI documentation
2014-03-25 17:01:37 +08:00
David Monllao
0807908f17
MDL-44085 course: Replace JS confirm() by YUI confirm
2014-02-18 09:44:05 +13:00
Sam Hemelryk
b73fd8608a
Merge branch 'MDL-43941-master' of git://github.com/andrewnicols/moodle
...
Conflicts:
course/yui/build/moodle-course-toolboxes/moodle-course-toolboxes-min.js
2014-02-11 14:10:52 +13:00
Sam Hemelryk
52b7e8aa58
Merge branch 'MDL-43267-master-3' of git://github.com/andrewnicols/moodle
2014-02-10 14:53:51 +13:00
Andrew Nicols
db6e9aa8d3
MDL-43941 Course: Allow AJAX show/hide of activities in hidden and orphaned sections
2014-02-10 09:21:31 +08:00
Andrew Nicols
34bcc6a95c
MDL-43267 Javascript: Improve accessibility of keyboard move
...
Change the keyboard move descriptions to allow for more detailed
descriptions such as:
* "After 'X'"; or
* "To top of section 'Y'"
2014-02-07 13:36:41 +08:00
Andrew Nicols
d125cf103c
MDL-43684 Course: Correct showing and hiding of resources on drag/drop
...
This was caused by an issue with String casting in JavaScript.
In JavaScript, "0" evaluates as a truthy value.
2014-01-30 11:03:08 +08:00
Damyon Wiese
f8a60dfe88
Merge branch 'MDL-35423-master' of git://github.com/andrewnicols/moodle
...
Conflicts:
course/yui/build/moodle-course-modchooser/moodle-course-modchooser-min.js
course/yui/dragdrop/dragdrop.js
2014-01-14 13:06:54 +08:00
Dan Poltawski
ac60c5b60e
Merge branch 'MDL-43270-master' of git://github.com/andrewnicols/moodle
2014-01-07 17:23:07 +08:00
Damyon Wiese
8af52d3188
Merge branch 'MDL-34356-master' of git://github.com/andrewnicols/moodle
2014-01-07 16:57:49 +08:00
Damyon Wiese
715d0505c4
Merge branch 'MDL-43273-master' of git://github.com/andrewnicols/moodle
2014-01-07 16:16:48 +08:00
Andrew Nicols
5b9e2cc78b
MDL-35423 JavaScript: Reduce specifity of course AJAX
...
Some themes may choose not to use the same layout as core themes. Reduce
the specifity of these to allow other themes to use our JavaScript without
following the same markup.
2014-01-07 09:51:04 +11:00
Andrew Nicols
80cd508669
MDL-34356 JavaScript: Allow chooser dialogues to submit values for hidden elements
...
When we submit the chooser dialogue, we disable the radio buttons used for
selection. Since browsers do not actually submit values for disabled
elements, we store the radio value in a hidden element which is not
disabled.
This commit abstracts this out of the activity chooser and into the generic
chooser dialogue such that other types of chooser dialogue may use it.
2013-12-28 11:35:52 +08:00
Andrew Nicols
fd03a33c35
MDL-43270 JavaScript: Migrate moodle-course-dragdrop to use Shifter
2013-12-23 17:09:39 +08:00
Andrew Nicols
80c2d36007
MDL-43273 JavaScript: Migrate moodle-course-coursebase to use Shifter
2013-12-23 16:34:54 +08:00
Andrew Nicols
672ce80ea6
MDL-43271 JavaScript: Migrate moodle-course-formatchooser to use Shifter
2013-12-23 16:23:54 +08:00
Sam Hemelryk
04102046ef
Merge branch 'MDL-43272-master' of git://github.com/andrewnicols/moodle
2013-12-18 09:55:04 +13:00
Sam Hemelryk
769ed2bd5d
NOBUG: shifter rebuild
2013-12-11 12:26:47 +13:00
Andrew Nicols
43736b7dd0
MDL-43272 JavaScript: Migrate moodle-course-modchooser to use Shifter
2013-12-10 18:41:46 +08:00
Andrew Nicols
d692861010
MDL-43202 JavaScript: Migrate moodle-course-toolboxes to user Shifter
2013-12-04 22:05:16 +08:00
Rajesh Taneja
a5888fb591
MDL-42403 course: Show bluk move to category only when something selected
2013-11-19 10:52:32 +08:00
Marina Glancy
5268dbffef
Merge branch 'MDL-42827-master' of git://github.com/andrewnicols/moodle
2013-11-13 13:28:46 +11:00
Andrew Nicols
1e98b1641a
MDL-42827 JavaScript: Use a more specific selector for activity links
2013-11-12 10:25:52 +08:00
Andrew Nicols
4c0664b950
MDL-42783 Course: Improve accessiblity of various course actions
2013-11-11 21:03:41 +11:00
Sam Hemelryk
d0647301a0
MDL-41392 course: management accessibility tweaking
2013-11-11 17:09:44 +08:00
Dan Poltawski
dbb68d7779
Merge branch 'wip-mdl-42777' of https://github.com/rajeshtaneja/moodle
2013-11-08 16:05:06 +08:00
Rajesh Taneja
428a1bbdb1
MDL-42777 courses: removed unneeded category check
...
On course view manage page, JS was not getting initalised as category-listing
is not visible, initialiseCourses is doing unnessary check for category as
it takes care of empty category so it should not return on empty category
2013-11-08 14:08:46 +08:00
Andrew Nicols
5bf8e9ae5e
MDL-40975 Course: Ensure that editinstructions line up with activity rename again
2013-11-07 16:46:34 +08:00
Andrew Nicols
4c9e8ea7a3
MDL-40975 Course: Fix issues with overflowing content in narrow windows
2013-11-07 01:16:34 +08:00
Andrew Nicols
5609c6321d
MDL-40975 Course: Make the edit title instructinos position with mod-indent
2013-11-06 16:20:00 +08:00
Andrew Nicols
868575ec2c
MDL-40975 Course: Make spinner consistent across themes
2013-11-06 16:06:48 +08:00
Barbara Ramiro
6272fce649
MDL-42564 Course: Replace group mode icons with larger versions
2013-11-06 11:40:58 +08:00
Andrew Nicols
6982618e89
MDL-40956 Course: AJAX course duplication
2013-11-06 11:40:57 +08:00
Andrew Nicols
4bbb890f91
MDL-40975 Course: Adjust how we handle toolbox processing to improve performance
2013-11-06 11:40:55 +08:00
Andrew Nicols
82ef49ea65
MDL-40975 Course: Set the show/hide activity toggle
2013-11-06 11:40:53 +08:00
Andrew Nicols
81dc079654
MDL-40975 Course: Hide commands when editing titles
2013-11-06 11:40:51 +08:00
Andrew Nicols
3072040cff
MDL-40975 JavaScript: Standardise the location of the activity spinner
2013-11-06 11:40:51 +08:00