diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2015-12-07 15:40:05 -0800 |
|---|---|---|
| committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-02-03 17:52:49 -0600 |
| commit | cb83fc394cf618e22a23f3282199a0cedb2e8339 (patch) | |
| tree | 79a7596bc28ff467f826276fc03949620a891565 /rt/share/html/Search/Schedule.html | |
| parent | 9c11fac3f8d3f31306de62185f623b7afb6e94ee (diff) | |
RT#34237 v3 reconcile commit a2d35e30236c5d233516fa8b77c219665f97e77c
Diffstat (limited to 'rt/share/html/Search/Schedule.html')
| -rw-r--r-- | rt/share/html/Search/Schedule.html | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/rt/share/html/Search/Schedule.html b/rt/share/html/Search/Schedule.html index 03cd880d0..aa53890be 100644 --- a/rt/share/html/Search/Schedule.html +++ b/rt/share/html/Search/Schedule.html @@ -175,7 +175,18 @@ % #remove their droppable $('#'+n_td_id).droppable('destroy'); if ( d == 0 ) { - $('#'+n_td_id).html(label + ' <A HREF="<%$RT::WebPath%>/Ticket/Display.html?id=' + ticketid + '">view</A>' ); + var title = + label + + ' <A HREF="<%$RT::WebPath%>/Ticket/Display.html?id=' + ticketid + '" target="_blank">view</A> ' + + <% include('/elements/popup_link.html', + action=>$RT::WebPath.'/Ticket/ModifyCustomFieldsPopup.html?id=__MAGIC_TICKET_ID__', + label =>'edit', + actionlabel => 'Edit appointment', + height => 436, # better: A + B * (num_custom_fields) + ) |n,js_string + %>; + title = title.replace( /__MAGIC_TICKET_ID__/, ticketid ); + $('#'+n_td_id).html( title ); % #(and make the top draggable, so we could do it all over again) $('#'+n_td_id).draggable({ containment: '.titlebox-content', |
