Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14478074
D15077.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D15077.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -395,7 +395,7 @@
'rsrc/js/application/drydock/drydock-live-operation-status.js' => '901935ef',
'rsrc/js/application/files/behavior-icon-composer.js' => '8499b6ab',
'rsrc/js/application/files/behavior-launch-icon-composer.js' => '48086888',
- 'rsrc/js/application/herald/HeraldRuleEditor.js' => '5bd8f385',
+ 'rsrc/js/application/herald/HeraldRuleEditor.js' => '746ca158',
'rsrc/js/application/herald/PathTypeahead.js' => 'f7fc67ec',
'rsrc/js/application/herald/herald-rule-editor.js' => '7ebaeed3',
'rsrc/js/application/maniphest/behavior-batch-editor.js' => '782ab6e7',
@@ -552,7 +552,7 @@
'global-drag-and-drop-css' => '697324ad',
'harbormaster-css' => 'b0758ca5',
'herald-css' => '826075fa',
- 'herald-rule-editor' => '5bd8f385',
+ 'herald-rule-editor' => '746ca158',
'herald-test-css' => 'a52e323e',
'inline-comment-summary-css' => '51efda3a',
'javelin-aphlict' => '5359e785',
@@ -1245,15 +1245,6 @@
'javelin-uri',
'javelin-routable',
),
- '5bd8f385' => array(
- 'multirow-row-manager',
- 'javelin-install',
- 'javelin-util',
- 'javelin-dom',
- 'javelin-stratcom',
- 'javelin-json',
- 'phabricator-prefab',
- ),
'5c54cbf3' => array(
'javelin-behavior',
'javelin-stratcom',
@@ -1370,6 +1361,15 @@
'javelin-vector',
'javelin-dom',
),
+ '746ca158' => array(
+ 'multirow-row-manager',
+ 'javelin-install',
+ 'javelin-util',
+ 'javelin-dom',
+ 'javelin-stratcom',
+ 'javelin-json',
+ 'phabricator-prefab',
+ ),
'76b9fc3e' => array(
'javelin-behavior',
'javelin-stratcom',
diff --git a/webroot/rsrc/js/application/herald/HeraldRuleEditor.js b/webroot/rsrc/js/application/herald/HeraldRuleEditor.js
--- a/webroot/rsrc/js/application/herald/HeraldRuleEditor.js
+++ b/webroot/rsrc/js/application/herald/HeraldRuleEditor.js
@@ -293,7 +293,17 @@
},
function(map) {
for (var k in map) {
- var v = JX.Prefab.transformDatasourceResults(map[k]);
+ var v = map[k];
+
+ // The control value may be set from wire values from the server,
+ // or a transformed value from another control, or a bare string
+ // value from another control.
+ if (typeof v == 'string') {
+ v = v;
+ } else if (!v.hasOwnProperty('id')) {
+ v = JX.Prefab.transformDatasourceResults(v);
+ }
+
build.tokenizer.addToken(k, v);
}
}];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 29, 4:26 PM (9 h, 47 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6941400
Default Alt Text
D15077.diff (2 KB)
Attached To
Mode
D15077: Make herald tokenizers copy values more correctly
Attached
Detach File
Event Timeline
Log In to Comment