Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3029

Let site plugins use the ionViewCanLeave function

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.7.0
    • Fix Version/s: 3.7.1
    • Component/s: Site add-ons
    • Labels:
    • Testing Instructions:
      Hide

      This issue only needs to be tested in 1 device.

      1. Install the plugin attached to this issue, inside the "local" folder.
      2. In the app, login in that site and go to the More tab. Check that you see an option called "Can leave test" or "[[pluginname]]" (I did something wrong when creating the lang of the plugin and I didn't want to lose time on that, I'm not sure if it was fixed with the latest changes).
      3. Click the option. Check that you see a new page saying "This is a test!".
      4. Click the back button. Check that you see a confirm message.
      5. Click "Cancel". Check that you stay in the page.
      6. Now click back again and now confim. Check that you're sent to the previous page.
      Show
      This issue only needs to be tested in 1 device. Install the plugin attached to this issue, inside the "local" folder. In the app, login in that site and go to the More tab. Check that you see an option called "Can leave test" or "[ [pluginname] ]" (I did something wrong when creating the lang of the plugin and I didn't want to lose time on that, I'm not sure if it was fixed with the latest changes). Click the option. Check that you see a new page saying "This is a test!". Click the back button. Check that you see a confirm message. Click "Cancel". Check that you stay in the page. Now click back again and now confim. Check that you're sent to the previous page.
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Sprint:
      Moodle App 3.7.1

      Description

      We should allow site plugins displayed in their own page to use the function ionViewCanLeave.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Albert Gasset
            Integrator:
            Juan Leyva
            Tester:
            Albert Gasset
            Participants:
            Component watchers:
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              30/Aug/19