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

Database activity URL field should have option to open link in new window

    Details

    • Testing Instructions:
      Hide
      • Create a new database activity
      • Add a URL field:
        • Set it to auto link
        • Do not set it to open in a new window
        • Save the form
      • Create a template based on the default options
      • Add an entry and view it
        • Confirm that the link appears correctly and does not have a target specified
      • Modify the URL field to make the link open in a new window
      • Refresh the view of the URL
        • Confirm that the link has a target of _blank and when clicked opens in a new window/tab
      • Modify the URL field and force a name for the link
      • Refresh the view of the URL
        • Confirm that a new link text is set, but the the _blank target still exists
      • Modify the URL field and prevent the link from auto-linking
      • Refresh the view of the URL
        • Confirm that the link is now just printed
      • Modify the URL field and re-enable auto-linking. Disable the 'Open in a new window' option
      • Refresh the view of the URL
        • Confirm that a new link text is set, but the the _blank target is no longer set
      Show
      Create a new database activity Add a URL field: Set it to auto link Do not set it to open in a new window Save the form Create a template based on the default options Add an entry and view it Confirm that the link appears correctly and does not have a target specified Modify the URL field to make the link open in a new window Refresh the view of the URL Confirm that the link has a target of _blank and when clicked opens in a new window/tab Modify the URL field and force a name for the link Refresh the view of the URL Confirm that a new link text is set, but the the _blank target still exists Modify the URL field and prevent the link from auto-linking Refresh the view of the URL Confirm that the link is now just printed Modify the URL field and re-enable auto-linking. Disable the 'Open in a new window' option Refresh the view of the URL Confirm that a new link text is set, but the the _blank target is no longer set
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:

      Description

      It would be really useful if a database activity URL field had the option to open the link in new window and maybe in a popup too.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

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