Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-28767

A typo in initDialogs.js overwrites Assign To dialog with Assign To Me dialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 5.1.4, 5.2-m04
    • None
    • None
    • JIRA 5.1-rc3

    Description

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

      Here's the excerpt from initDialogs.js:

              JIRA.Dialogs.assignIssue = new JIRA.FormDialog({
                  id: "assign-dialog",
                  trigger: "a.issueaction-assign-issue",
                  ajaxOptions: JIRA.Dialogs.getDefaultAjaxOptions,
                  onSuccessfulSubmit : JIRA.Dialogs.storeCurrentIssueIdOnSucessfulSubmit,
                  issueMsg : 'thanks_issue_assigned',
                  delayShowUntil: JIRA.Dialogs.waitForSavesToComplete,
                  onContentRefresh: function () {
                      jQuery(".overflow-ellipsis").textOverflow();
                  }
              });
      
              JIRA.Dialogs.assignIssue = new JIRA.FormDialog({
                  id: "assign-dialog",
                  trigger: "a.issueaction-assign-to-me",
                  ajaxOptions: JIRA.Dialogs.getDefaultAjaxOptions,
                  onSuccessfulSubmit : JIRA.Dialogs.storeCurrentIssueIdOnSucessfulSubmit,
                  issueMsg : 'thanks_issue_assigned',
                  delayShowUntil: JIRA.Dialogs.waitForSavesToComplete,
                  onContentRefresh: function () {
                      jQuery(".overflow-ellipsis").textOverflow();
                  }
              });
      

      Clearly the second dialog was intended to be assigned to a different property.

      Attachments

        Issue Links

          Activity

            People

              edalgliesh Eric Dalgliesh
              bbf762edcc79 Igor Sereda [ALM Works]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: