Details

    • Icon: Improvement Improvement
    • Resolution: None
    • Icon: High High
    • None
    • None
    • ezplatform.com
    • None

    Description

      As a community member, I want to be able to link to the view on ezplatform.com where the Platform.sh "tab" is pre-selected using a URI such as ezplatform.com/#platformsh or something similar.

      A community member on Platform.sh's slack requested this, and proposed the following code:

      $(function() {
      // Javascript to enable link to tab
      var hash = document.location.hash;
      if (hash)

      { console.log(hash); $('.nav-pills a[href="'+hash+'"]').tab('show'); }

      // Change hash for page-reload
      $('a[data-toggle="tab"]').on('show.bs.tab', function (e)

      { window.location.hash = e.target.hash; }

      );
      });

      Attachments

        Activity

          People

            rafal.toborek-obsolete@ez.no RafaƂ Toborek (Inactive)
            david.liedle-obsolete@ez.no David Christian Liedle (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: