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

Let site plugins use the ionViewCanLeave function

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • 3.7.0
    • 3.7.1
    • Site add-ons
    • 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.
    • MOODLE_37_STABLE
    • MOODLE_37_STABLE
    • Moodle App 3.7.1

    Description

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

      Attachments

        Activity

          People

            dpalou Dani Palou
            dpalou Dani Palou
            Albert Gasset Albert Gasset
            Juan Leyva Juan Leyva
            Albert Gasset Albert Gasset
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              30/Aug/19