mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-47269 yui/src/dock: Invert dock reset blocks icon, in RTL mode
This commit is contained in:
parent
272fec367f
commit
f2ee054b52
@ -1099,7 +1099,7 @@ Y.extend(DOCK, Y.Base, DOCK.prototype, {
|
||||
* @default t/dock_to_block
|
||||
*/
|
||||
undockAllIconUrl : {
|
||||
value : M.util.image_url('t/dock_to_block', 'moodle'),
|
||||
value : M.util.image_url((right_to_left()) ? 't/dock_to_block_rtl' : 't/dock_to_block', 'moodle'),
|
||||
validator : Y.Lang.isString
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -1089,7 +1089,7 @@ Y.extend(DOCK, Y.Base, DOCK.prototype, {
|
||||
* @default t/dock_to_block
|
||||
*/
|
||||
undockAllIconUrl : {
|
||||
value : M.util.image_url('t/dock_to_block', 'moodle'),
|
||||
value : M.util.image_url((right_to_left()) ? 't/dock_to_block_rtl' : 't/dock_to_block', 'moodle'),
|
||||
validator : Y.Lang.isString
|
||||
}
|
||||
}
|
||||
|
2
lib/yui/src/dock/js/dock.js
vendored
2
lib/yui/src/dock/js/dock.js
vendored
@ -1097,7 +1097,7 @@ Y.extend(DOCK, Y.Base, DOCK.prototype, {
|
||||
* @default t/dock_to_block
|
||||
*/
|
||||
undockAllIconUrl : {
|
||||
value : M.util.image_url('t/dock_to_block', 'moodle'),
|
||||
value : M.util.image_url((right_to_left()) ? 't/dock_to_block_rtl' : 't/dock_to_block', 'moodle'),
|
||||
validator : Y.Lang.isString
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user