HomePhorge

Don't render a grip on tasks returned over AJAX to non-draggable UIs

Description

Don't render a grip on tasks returned over AJAX to non-draggable UIs

Summary:
Fixes T5140. When you ajax-edit a task and we send back a full-size card, we currently always put a drag grip on it.

If you clicked the "edit" thing from a priority-ordered list, this is appropriate. However, if you clicked it from some other type of list, it is not.

Pass the expected grippableness through the call.

Test Plan:

  • Edited a task from a reorderable (priority-ordered) view, got grip.
  • Edited a task from a nonreorderable (author-ordered) view, got no grip.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5140

Differential Revision: https://secure.phabricator.com/D10282

Details

Provenance
epriestleyAuthored on Aug 16 2014, 11:12 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP26f283fe21a5: Implement `passphrase.query` for querying credentials
Branches
Unknown
Tags
Unknown

Event Timeline