From 5dae0ef4f9be92d76260739348e7adf85c2fff19 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 10 May 2018 20:54:48 -0700 Subject: add cancel button to editor, fix issue with autosave of categories --- Zotlabs/Module/Article_edit.php | 1 + 1 file changed, 1 insertion(+) (limited to 'Zotlabs/Module/Article_edit.php') diff --git a/Zotlabs/Module/Article_edit.php b/Zotlabs/Module/Article_edit.php index 758c1db2e..89abccc40 100644 --- a/Zotlabs/Module/Article_edit.php +++ b/Zotlabs/Module/Article_edit.php @@ -128,6 +128,7 @@ class Article_edit extends \Zotlabs\Web\Controller { '$title' => t('Edit Article'), '$delete' => ((($itm[0]['author_xchan'] === $ob_hash) || ($itm[0]['owner_xchan'] === $ob_hash)) ? t('Delete') : false), '$id' => $itm[0]['id'], + '$cancel' => t('Cancel'), '$editor' => $editor )); -- cgit v1.2.3