1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-05 19:38:27 +01:00
phorge-phorge/src
epriestley fddb506e98 Don't render the Maniphest edit form bottom-of-page preview panel if "Description" is locked or hidden
Summary:
See <https://discourse.phabricator-community.org/t/hidden-description-field-in-maniphest-task-breaks-form/1432>.

If you hide the "Description" field in Maniphest, we still try to render a remarkup preview for it. This causes a JS error and a nonfunctional element on the page.

Instead, hide the preview panel if the field has been locked or hidden.

Test Plan:
  - Hid the field, loaded the form, no more preview panel / JS error.
  - Used a normal form with the field visible, saw a normal preview.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D19432
2018-05-08 14:01:23 -07:00
..
__tests__ Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
aphront Fix excessively severe CSP URI error during first-time setup 2018-04-21 09:43:46 -07:00
applications Don't render the Maniphest edit form bottom-of-page preview panel if "Description" is locked or hidden 2018-05-08 14:01:23 -07:00
docs Fix a typo in the Diffusion importing user guide 2018-04-25 06:54:15 -07:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure In Differential, prevent "Accept" and "Reject" from "Plan Changes + Draft" 2018-04-23 14:39:36 -07:00
view Extend PhabricatorPolicyCodex interface to handle "interesting" policy defaults 2018-04-27 16:56:11 -07:00
__phutil_library_init__.php
__phutil_library_map__.php Allow Owners packages to be configured to ignore generated paths in Differential 2018-05-05 08:47:29 -07:00