From 551acd6ddbb412062968de6a47dae4a4b7c0cfbe Mon Sep 17 00:00:00 2001 From: liugang Date: Fri, 9 Aug 2019 17:35:34 +0800 Subject: [PATCH] * Optimize. --- module/product/view/edit.html.php | 2 +- module/productplan/view/edit.html.php | 2 +- module/release/model.php | 2 +- module/release/view/edit.html.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/module/product/view/edit.html.php b/module/product/view/edit.html.php index b8a6b4d35c..572d8b9935 100644 --- a/module/product/view/edit.html.php +++ b/module/product/view/edit.html.php @@ -58,11 +58,11 @@ product->status;?> product->statusList, $product->status, "class='form-control'");?> + printExtendFields($product, 'table', 'columns=1');?> product->desc;?> desc), "rows='8' class='form-control'");?> - printExtendFields($product, 'table', 'columns=1');?> product->acl;?> product->aclList, $product->acl, "onclick='setWhite(this.value);'", 'block'));?> diff --git a/module/productplan/view/edit.html.php b/module/productplan/view/edit.html.php index a8708a0391..3a22833ff6 100644 --- a/module/productplan/view/edit.html.php +++ b/module/productplan/view/edit.html.php @@ -52,11 +52,11 @@ end != '2030-01-01' ? formatTime($plan->end) : '', 'class="form-control form-date"');?> productplan->endList , '', "onclick='computeEndDate(this.value)'");?> + printExtendFields($plan, 'table', 'columns=1');?> productplan->desc;?> desc), "rows='10' class='form-control kindeditor' hidefocus='true'");?> - printExtendFields($plan, 'table', 'columns=3');?> diff --git a/module/release/model.php b/module/release/model.php index 1162d939dd..a11b44f7dd 100644 --- a/module/release/model.php +++ b/module/release/model.php @@ -130,7 +130,7 @@ class releaseModel extends model ->add('builder', $this->app->user->account) ->add('branch', $branch) ->stripTags($this->config->release->editor->create['id'], $this->config->allowedTags) - ->remove('marker,build,files,labels,uid') + ->remove('marker,build,files,labels,uid,subStatus') // There is the subStatus field in the biz version. ->get(); $build = $this->loadModel('file')->processImgURL($build, $this->config->release->editor->create['id']); $this->dao->insert(TABLE_BUILD)->data($build) diff --git a/module/release/view/edit.html.php b/module/release/view/edit.html.php index c256264445..d35affc5ed 100644 --- a/module/release/view/edit.html.php +++ b/module/release/view/edit.html.php @@ -47,11 +47,11 @@ release->status;?> release->statusList, $release->status, "class='form-control'");?> + printExtendFields($release, 'table', 'columns=1');?> release->desc;?> desc), "rows=10 class='form-control kindeditor' hidefocus='true'");?> - printExtendFields($release, 'table', 'columns=2');?> files;?> fetch('file', 'buildform');?>