Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-3126

Logout on window close also in instanttranslate and termportal

    XMLWordPrintable

Details

    • High
    • logoutOnWindowClose-config triggers now logout when last tab is closed not anymore already on first tab.
    • -

    Description

      Implement logoutOnWindowClose also in termportal and instanttranslate.

      To ensure that this is triggered only on the last opened window/tab each application should increase a counter in the localStorage. Only if the last window is closed the logout should be performed.

      The counter must also be used when opening multiple translate5 tasks in different tabs.

      the logoutOnWindowClose config should also be evaluated in termportal and instanttranslate.

      Pay attention that instanttranslate has two ways of inclusion - with and without termportal.

      See as reference: app.js::logoutOnWindowClose.

      Since different JS frameworks are used each applet must implement its own function.

      Attachments

        Activity

          People

            pavelperminov Pavel Perminov
            tlauria Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: