MDL-47269 yui/src/dock: Invert dock reset blocks icon, in RTL mode

This commit is contained in:
Nadav Kavalerchik 2014-09-16 18:48:00 +03:00
parent 272fec367f
commit f2ee054b52
4 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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
}
}

View File

@ -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
}
}