Page MenuHomePhabricator

D9580.diff
No OneTemporary

D9580.diff

diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -399,7 +399,7 @@
'rsrc/js/application/passphrase/phame-credential-control.js' => '1e1c8a59',
'rsrc/js/application/phame/phame-post-preview.js' => '61d927ec',
'rsrc/js/application/pholio/behavior-pholio-mock-edit.js' => '1e1e8bb0',
- 'rsrc/js/application/pholio/behavior-pholio-mock-view.js' => '7afc17c9',
+ 'rsrc/js/application/pholio/behavior-pholio-mock-view.js' => '83326068',
'rsrc/js/application/phortune/behavior-balanced-payment-form.js' => '3b3e1664',
'rsrc/js/application/phortune/behavior-stripe-payment-form.js' => '1693a296',
'rsrc/js/application/phortune/behavior-test-payment-form.js' => 'b3e5ee60',
@@ -624,7 +624,7 @@
'javelin-behavior-phabricator-watch-anchor' => '06e05112',
'javelin-behavior-phame-post-preview' => '61d927ec',
'javelin-behavior-pholio-mock-edit' => '1e1e8bb0',
- 'javelin-behavior-pholio-mock-view' => '7afc17c9',
+ 'javelin-behavior-pholio-mock-view' => '83326068',
'javelin-behavior-phui-object-box-tabs' => 'a3e2244e',
'javelin-behavior-phui-timeline-dropdown-menu' => '4d94d9c3',
'javelin-behavior-policy-control' => 'f3fef818',
@@ -1372,21 +1372,6 @@
0 => 'owners-path-editor',
1 => 'javelin-behavior',
),
- '7afc17c9' =>
- array(
- 0 => 'javelin-behavior',
- 1 => 'javelin-util',
- 2 => 'javelin-stratcom',
- 3 => 'javelin-dom',
- 4 => 'javelin-vector',
- 5 => 'javelin-magical-init',
- 6 => 'javelin-request',
- 7 => 'javelin-history',
- 8 => 'javelin-workflow',
- 9 => 'javelin-mask',
- 10 => 'javelin-behavior-device',
- 11 => 'phabricator-keyboard-shortcut',
- ),
'7ba325ee' =>
array(
0 => 'javelin-install',
@@ -2127,6 +2112,21 @@
1 => 'javelin-dom',
2 => 'javelin-workflow',
),
+ 83326068 =>
+ array(
+ 0 => 'javelin-behavior',
+ 1 => 'javelin-util',
+ 2 => 'javelin-stratcom',
+ 3 => 'javelin-dom',
+ 4 => 'javelin-vector',
+ 5 => 'javelin-magical-init',
+ 6 => 'javelin-request',
+ 7 => 'javelin-history',
+ 8 => 'javelin-workflow',
+ 9 => 'javelin-mask',
+ 10 => 'javelin-behavior-device',
+ 11 => 'phabricator-keyboard-shortcut',
+ ),
),
'packages' =>
array(
diff --git a/webroot/rsrc/js/application/pholio/behavior-pholio-mock-view.js b/webroot/rsrc/js/application/pholio/behavior-pholio-mock-view.js
--- a/webroot/rsrc/js/application/pholio/behavior-pholio-mock-view.js
+++ b/webroot/rsrc/js/application/pholio/behavior-pholio-mock-view.js
@@ -656,12 +656,15 @@
}
info = JX.$N('div', {className: 'pholio-image-info'}, info);
- var desc = JX.$N(
- 'div',
- {className: 'pholio-image-description'},
- JX.$H(image.descriptionMarkup));
-
- return [buttons, info, desc];
+ if (image.descriptionMarkup === '') {
+ return [buttons, info];
+ } else {
+ var desc = JX.$N(
+ 'div',
+ {className: 'pholio-image-description'},
+ JX.$H(image.descriptionMarkup));
+ return [buttons, info, desc];
+ }
}
function render_reticle(classes) {

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 5:18 PM (18 h, 14 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6911299
Default Alt Text
D9580.diff (3 KB)

Event Timeline