Edgewall Software

Changes between Initial Version and Version 3 of Ticket #11719


Ignore:
Timestamp:
Aug 16, 2014, 7:38:27 AM (10 years ago)
Author:
Jun Omae
Comment:

That patch has the following problems.

  • When summary is changed, its value wouldn't be changed in preview.
  • When status or type is changed, its value wouldn't be changed in preview.
  • When field without value is set (or value is removed from field), missing class in its header wouldn't toggle in preview.

That would make auto-preview handler more complex. I like simple.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11719 – Description

    initial v3  
    2020+          });
    2121+          var newDescription = $('div.description div.searchable', items);
    22 +          $('#ticket div.description div.searchable').html(newDescription.html(
     22+          $('#ticket div.description div.searchable').html(newDescription.html());
    2323+          if (items.hasClass('ticketdraft'))
    2424+            $('#ticket').addClass('ticketdraft');
     
    3030though this is likely a partial fix.
    3131
    32 (This has also been discussed at [http://trac-hacks.org/ticket/11923 Trac-Hacks].)
     32(This has also been discussed at th:#11923.)