Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37664

Drag & drop of blocks doesn't work in right-to-left mode

    Details

    • Testing Instructions:
      Hide
      1. Change the language direction (you may simply replace ltr with rtl in langconfig.php)
      2. Enable editing mode on the course page
      3. Try to move blocks from left to right
      4. Refresh the page to make sure the new location has been recorded
      5. Change language direction to lrt and repeat steps 2-4
      Show
      Change the language direction (you may simply replace ltr with rtl in langconfig.php) Enable editing mode on the course page Try to move blocks from left to right Refresh the page to make sure the new location has been recorded Change language direction to lrt and repeat steps 2-4
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-37664-master

      Description

      If you're using a right-to-left language and you drag & drop a block from left sidebar to right sidebar (or vice versa) and then refresh the page, you'll see that the block has not moved to the other sidebar.

      in fact, if you move a block from left sidebar to right sidebar and then from right sidebar to left sidebar again and then refresh the page, you'll see that the block has moved from left sidebar to right sidebar.

      This bug is introduced in 2.4 and has something to do with all "right_to_left()" calls in [theme]/layout/general.php

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/May/13