Homec4science

Don't show the delete button on a deleted document

Authored by Ricky Elrod <codeblock@eighthbit.net> on Nov 16 2012, 00:56.

Description

Don't show the delete button on a deleted document

Summary:
This doesn't actually contain any logic to prevent a user from deleting a
document twice, but it makes it significantly harder to do so.

Test Plan:
Went to edit a document, saw the delete button. Clicked it, then went back to
the edit view, and no longer saw the delete button.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

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

Details

Committed
epriestley <git@epriestley.com>Nov 16 2012, 00:56
Pushed
aubortJan 31 2017, 17:16
Parents
rPH90dedc16a085: Fix CSS for textareas in windows
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH7fac80cb9a57: Don't show the delete button on a deleted document (authored by Ricky Elrod <codeblock@eighthbit.net>).Nov 16 2012, 00:56