Andrew Nicols
02839a35f0
MDL-43267 Javascript: Remove aria drag/drop related attributes for drag/drop
...
Since we provide an alternative interface rather than describing the
locations for each drop, we should not add aria-grabbed, or
aria-dropeffect.
2014-02-07 13:36:41 +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
Marina Glancy
c71b7b7c44
Merge branch '38923-27' of git://github.com/samhemelryk/moodle
2014-02-05 12:49:02 +08:00
Sam Hemelryk
ee729af1e4
MDL-38923 theme_bootstrapbase: pre-integration fixups
...
* Fixed the way we added the block class to the dock panel in dock.js
* Added a class to the h2 that is used to test dock title width
* Fixed RTL alignment issues as best I could at present
* Fixed overlap of dock + navbar on small screens
* Fixed the docked block width to be constrained to the available space
* Fixed hidden actions on docked blocks
2014-02-05 15:07:44 +13:00
Sam Hemelryk
abaae2a548
MDL-38923 dock: allowed for space before first time
2014-02-05 11:21:09 +13:00
Sam Hemelryk
2a203eee8d
MDL-38923 theme_bootstrapbase: tidied up dock implementation
...
Also:
* Changed to a CSS based compacting solution
* Converted dock colours to variables
* RTL fixes for the dock
2014-02-05 11:21:09 +13:00
Sam Hemelryk
2f166b3284
Merge branch 'MDL-43885-master' of git://github.com/andrewnicols/moodle
2014-02-04 12:41:00 +13:00
Sam Hemelryk
68ad9d82bf
Merge branch 'MDL-43886-master' of git://github.com/andrewnicols/moodle
...
Conflicts:
lib/yui/build/moodle-core-notification-dialogue/moodle-core-notification-dialogue-min.js
2014-02-04 11:14:11 +13:00
Andrew Nicols
649c80e6a4
MDL-43885 Javascript: Make the [X] button work like 'No' in relevant dialogues
...
The [X] button on the dialogue is another form of the 'No' button and
should behave as such. In some dialogues this matters more than others
because the dialogue is destroyed.
2014-01-29 11:16:47 +08:00
Andrew Nicols
0860dd78f7
MDL-43886 Javascript: Remove dialouges from the DOM upon destroy
2014-01-29 00:02:03 +08:00
Andrew Nicols
478d82db06
MDL-42928 JavaScript: Disable lockScroll for small chooserdialogues
2014-01-28 09:49:32 +08:00
Andrew Nicols
73747aea77
MDL-42928 JavaScript: Add LockScroll to all modal dialogues
2014-01-28 09:49:32 +08:00
Andrew Nicols
5ab39a0e97
MDL-42928 JavaScript: Create a module to handle page scroll locking
2014-01-28 09:49:32 +08:00
Sam Hemelryk
d9bf4be487
MDL-43598 dialogue: fixed bug with render procedure
2014-01-13 08:27:46 +13:00
Andrew Nicols
a67233e76f
MDL-43262 JavaScript: Correct use of centered attribute override
...
This should be done using an attribute modification, rather than at the
constructor level.
2014-01-13 08:26:28 +13:00
Andrew Nicols
c46cca4f94
MDL-43262 JavaScript: Correct visible attribute override
...
This should be done using an attribute modification, rather than at the
constructor level.
2014-01-13 08:26:28 +13:00
Andrew Nicols
16d024348a
MDL-43262 JavaScript: Correct width attribute override
...
This should be done using an attribute modification, rather than at the
constructor level.
2014-01-13 08:26:28 +13:00
Damyon Wiese
8af52d3188
Merge branch 'MDL-34356-master' of git://github.com/andrewnicols/moodle
2014-01-07 16:57:49 +08:00
Dan Poltawski
62bfe6202e
Merge branch 'MDL-43323-master' of git://github.com/andrewnicols/moodle
2014-01-07 10:34:40 +08:00
Andrew Nicols
1cce5dfb9a
MDL-43281 Blocks: Retrieve a newly created block after creating it
...
Although we were previously creating the DOM markup for a block region if
it did not exist, we were not making use of it.
This change ensures that we make use of that block region as part of the
blocks code.
2013-12-30 14:15:32 +08: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
Sam Hemelryk
a92617fa3f
Merge branch 'MDL-43410-master' of git://github.com/andrewnicols/moodle
2013-12-24 09:13:05 +13:00
Andrew Nicols
ce4da4612e
MDL-43323 JavaScript: Lazily load exception dependencies for tooltip
...
Only load the exception-related dependencies for tooltip when required. In
normal situations they should not be required at all.
2013-12-23 08:20:43 +08:00
Sam Hemelryk
8ca4f69539
Merge branch 'MDL-43325-master' of git://github.com/andrewnicols/moodle
...
Conflicts:
lib/yui/build/moodle-core-notification-dialogue/moodle-core-notification-dialogue-min.js
2013-12-23 09:54:26 +13:00
Andrew Nicols
af4d19abfb
MDL-43410 JavaScript: Stop event propagation when opening the action menu
...
In certain situations, the click event is propagated through to the
hideIfOutside and immediately closes the menu.
This happens when blocks are dock for example.
2013-12-18 11:44:43 +08:00
Eloy Lafuente (stronk7)
f77233dfaa
Merge branch 'MDL-43404_master' of git://github.com/dmonllao/moodle
2013-12-18 02:24:08 +01:00
Sam Hemelryk
bf6529bbd4
Merge branch 'MDL-43234-master' of git://github.com/andrewnicols/moodle
...
Conflicts:
lib/yui/build/moodle-core-notification-dialogue/moodle-core-notification-dialogue-min.js
2013-12-18 09:53:02 +13:00
David Monllao
4415b667a4
MDL-43404 behat: Form change checker disabled when running behat
2013-12-17 18:39:31 +08:00
Sam Hemelryk
233e6b985b
Merge branch 'MDL-43259-master' of git://github.com/andrewnicols/moodle
...
Conflicts:
lib/upgrade.txt
2013-12-17 16:32:35 +13:00
Andrew Nicols
5c1d99b027
MDL-43325 JavaScript: Set a default visibility for most Moodle dialogues
...
We used to ignore the 'visible' field in the initializer, but now we hide
dialogues if visible is false. This was an unintentional change from the
stable API and means that confirmation boxes, alerts, and exceptions are no
longer shown by default.
2013-12-12 16:20:02 +08:00
Andrew Nicols
5947ab3333
MDL-43259 JavaScript: Stop using deprecated lightbox config setting when instantiating dialogues
2013-12-11 16:56:49 +08:00
Sam Hemelryk
df1498f711
Merge branch 'MDL-42796-master' of git://github.com/andrewnicols/moodle
2013-12-11 11:13:32 +13:00
Sam Hemelryk
176521e560
Merge branch 'MDL-38774-master' of git://github.com/andrewnicols/moodle
2013-12-10 09:25:51 +13:00
Andrew Nicols
83cdecec1e
MDL-38774 JavaScript: Migrate moodle-core-dragdrop to Shifter
2013-12-09 11:27:44 +08:00
Andrew Nicols
cff3b8feed
MDL-43259 JavaScript: Deprecate M.core.dialogue's lightbox attribute
...
The lightbox attribute just sets the modal attribute of the upstream
dialogue and provides no real benefit. We should deprecate it in favour of
documented upstream attributes of Y.Panel.
2013-12-08 16:27:41 +08:00
Andrew Nicols
4246e5c7cc
MDL-43234 JavaScript: Clone dialogue configuration before initialising
...
Since we modify the config object when instantiating a new Dialogue, we
need to clone the configuration to prevent those changes from being
reflected back in the caller.
2013-12-07 09:04:45 +08:00
Andrew Nicols
11dd4dadb4
MDL-42796 ActionMenu: Add additional keyboard event handling
...
Add additional handling for up/down/escape key presses and consolidate them
with the existing tab/shift+tab handling.
2013-12-06 16:20:10 +08:00
Andrew Nicols
a4e1fefa39
MDL-42796 ActionMenu: Move event handlers to showMenu
2013-12-06 16:19:52 +08:00
Andrew Nicols
2db015372a
MDL-43152 JavaScript: Fix linting issues with moodle-core-blocks
2013-12-06 09:19:39 +08:00
Dan Poltawski
fed9deadcd
MDL-42597 yui: remove stale built files
2013-12-04 09:08:54 +08:00
Dan Poltawski
d22147667d
Merge branch 'wip-mdl-42597' of https://github.com/rajeshtaneja/moodle
...
Conflicts:
theme/bootstrapbase/style/moodle.css
2013-12-04 08:53:25 +08:00
Rajesh Taneja
f487a8f825
MDL-42597 Administration: Modified maintenance mode countdown to display nicely
...
Added Style and JS to display maintenance mode timer similar
to what is done on moodle demo site for rest.
2013-12-04 08:31:56 +08:00
Jerome Mouneyrac
ad417fdfe7
MDL-42876 Screen reader does not trigger the keyboard move
2013-11-21 17:42:18 +08:00
Andrew Nicols
734b5b500e
MDL-42810 ActionMenu: Hide the ActionMenu when clicking on primary links
2013-11-12 11:18:33 +08:00
Marina Glancy
57c9bdb250
Merge branch 'MDL-42809-master' of git://github.com/andrewnicols/moodle
2013-11-12 13:34:01 +11:00
Damyon Wiese
fae2e1ffcc
Merge branch '42806-26' of git://github.com/samhemelryk/moodle
2013-11-12 10:02:09 +08:00
Sam Hemelryk
9b22eeff5d
MDL-42806 dock: check title exists before using it
2013-11-11 16:51:06 +08:00
Sam Hemelryk
4b6d9ea248
MDL-42805 dock: fixed {} appearing in undock icon title
2013-11-11 16:26:12 +08:00
Andrew Nicols
04653aa010
MDL-42809 ActionMenu: Increase specifity of hide on select selector
2013-11-11 15:33:30 +08:00
Dan Poltawski
0967c74a3d
Merge branch 'MDL-42737-master' of git://github.com/andrewnicols/moodle
2013-11-07 17:21:54 +08:00