Edgewall Software

Changes between Initial Version and Version 1 of Ticket #13044


Ignore:
Timestamp:
Jul 26, 2018, 12:21:38 AM (2 years ago)
Author:
Ryan J Ollos
Comment:

We could change the jQuery selector to also match the br element.

Proposed fix:

  • tracopt/ticket/htdocs/ticketclone.coffee

    diff --git a/tracopt/ticket/htdocs/ticketclone.coffee b/tracopt/ticket/htdocs/ticketclone.coffee
    index a1f5b17c1..e416567e8 100644
    a b $(document).ready () ->  
    8585    _("Cloned from #%(id)s:\n%(description)s",
    8686      id: old_values.id,
    8787      description: quoteText(old_values.description))
    88   $('#ticket .description .searchable').before(clone)
     88  $("#ticket .description").children(".searchable, br").before(clone)
    8989  # clone from comment
    9090  if old_values? and changes?
    9191    addCloneFromComments (c for c in changes when c.cnum? and

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13044

    • Property Keywords ticketclone added
    • Property Owner set to Ryan J Ollos
    • Property Status newassigned
    • Property Milestone next-dev-1.3.x1.3.4
  • Ticket #13044 – Release Notes

    initial v1  
     1Fix ticket clone button missing when ticket description empty.