Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F81779
D7566.diff
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7566.diff
View Options
diff --git a/webroot/rsrc/js/application/maniphest/behavior-batch-selector.js b/webroot/rsrc/js/application/maniphest/behavior-batch-selector.js
--- a/webroot/rsrc/js/application/maniphest/behavior-batch-selector.js
+++ b/webroot/rsrc/js/application/maniphest/behavior-batch-selector.js
@@ -41,6 +41,18 @@
update();
};
+ var redraw = function (task) {
+ var selected = is_selected(task);
+ change(task, selected);
+ };
+ JX.Stratcom.listen(
+ 'subpriority-changed',
+ null,
+ function (e) {
+ e.kill();
+ var data = e.getData();
+ redraw(data.task);
+ });
// Change all tasks to some state (used by "select all" / "clear selection"
// buttons).
diff --git a/webroot/rsrc/js/application/maniphest/behavior-subpriorityeditor.js b/webroot/rsrc/js/application/maniphest/behavior-subpriorityeditor.js
--- a/webroot/rsrc/js/application/maniphest/behavior-subpriorityeditor.js
+++ b/webroot/rsrc/js/application/maniphest/behavior-subpriorityeditor.js
@@ -57,8 +57,11 @@
var nodes = JX.$H(r.tasks).getFragment().firstChild;
var task = JX.DOM.find(nodes, 'li', 'maniphest-task');
JX.DOM.replace(node, task);
-
draggable.unlock();
+ JX.Stratcom.invoke(
+ 'subpriority-changed',
+ null,
+ { 'task' : task });
};
new JX.Workflow(config.uri, data)
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/x3/k4/3dymngmqzkhvvrv5
Default Alt Text
D7566.diff (1 KB)
Attached To
Mode
D7566: Maniphest - fix a bug when selecting all tasks and then dragging them around
Attached
Detach File
Event Timeline
Log In to Comment