X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FSearch%2FSchedule.html;fp=rt%2Fshare%2Fhtml%2FSearch%2FSchedule.html;h=96670cdb28cc002e6369b6a6cbaa1c9adb7c43f7;hb=a2d35e30236c5d233516fa8b77c219665f97e77c;hp=f021df70239adcbb1968a437dcda6f1986889e8e;hpb=7c08f01e1a05fe4bab903bd44277b5c3784aebc5;p=freeside.git diff --git a/rt/share/html/Search/Schedule.html b/rt/share/html/Search/Schedule.html index f021df702..96670cdb2 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 + ' view' ); + var title = + label + + ' view ' + + <% 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',