X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FSearch%2FSchedule.html;h=96670cdb28cc002e6369b6a6cbaa1c9adb7c43f7;hb=08adf9b62500806763ff3a470228dfdd45494598;hp=ccd844bf86ed796f74249daff2345c0c90055eb4;hpb=2b2dd969f3c18751afc583ad1e836ab8e6f73b5d;p=freeside.git diff --git a/rt/share/html/Search/Schedule.html b/rt/share/html/Search/Schedule.html index ccd844bf8..96670cdb2 100644 --- a/rt/share/html/Search/Schedule.html +++ b/rt/share/html/Search/Schedule.html @@ -123,7 +123,7 @@ var draggable = ui.draggable; var droppable = $(this); - draggable.effect( "transfer", { to: droppable }, 1000 ); + draggable.effect( "transfer", { to: droppable }, 420 ); % #tell the backend to reschedule it var url = "<% popurl(3) %>misc/xmlhttp-ticket-update.html?" + @@ -175,7 +175,18 @@ % #remove their droppable $('#'+n_td_id).droppable('destroy'); if ( d == 0 ) { - $('#'+n_td_id).text(label); + 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',