From e44b302609d6bf81c0dbb422e0d0a1fff38e4a4d Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 9 Apr 2019 14:48:44 -0600 Subject: [PATCH] Add documentation tab to customfield edits --- admin/inc/class.admin_customfields.inc.php | 2 +- admin/templates/default/customfield_edit.xet | 35 ++++++++++++++++---- 2 files changed, 30 insertions(+), 7 deletions(-) diff --git a/admin/inc/class.admin_customfields.inc.php b/admin/inc/class.admin_customfields.inc.php index b05b0a477a..ae18b3705e 100644 --- a/admin/inc/class.admin_customfields.inc.php +++ b/admin/inc/class.admin_customfields.inc.php @@ -374,7 +374,7 @@ class admin_customfields $update_content[substr($key,3)] = $value; } } - $cmd = new admin_cmd_customfield($this->appname, $update_content); + $cmd = new admin_cmd_customfield($this->appname, $update_content,null,$content['admin_cmd']); $cmd->run(); if(!$cf_id) { diff --git a/admin/templates/default/customfield_edit.xet b/admin/templates/default/customfield_edit.xet index 0386e8b44c..3adc30fa75 100644 --- a/admin/templates/default/customfield_edit.xet +++ b/admin/templates/default/customfield_edit.xet @@ -2,7 +2,7 @@ -