Fetch the window.location at form display and not at page load

XMLWordPrintable

    • 1

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      We use the issue collector to request feedback from our users on an application using GWT. Our URL changes without reloading the page, which makes the issue collector unable to track our state changes.

      We had to copy and modify the issue collector javascript as follows:

                      collectFeedback = function () {
                          return $.extend(environmentProps, {url: Window.location});
                      }
      

      is now:

                      collectFeedback = function () {
                          var addedValues = {
                              Location: window.location.href
                          };
                          environmentProps = $.extend(environmentProps,addedValues);
                          return environmentProps;
                      }
      

              Assignee:
              Unassigned
              Reporter:
              Matthieu Bertin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: