fixed flaws in webhooks changes

This commit is contained in:
hyung-hwan 2021-09-13 10:29:29 +00:00
parent 6918ab1f41
commit 05e306dcb5
2 changed files with 6 additions and 6 deletions

View File

@ -206,10 +206,10 @@ class Project extends CI_Controller
'project_summary', 'summary', 'required|max_length[255]');
$this->form_validation->set_rules (
'project_description', 'description', 'required');
$this->form_validation->set_rules (
'project_webhooks', 'description', 'required');
//$this->form_validation->set_rules (
// 'project_commitable', 'commitable', 'alpha');
// 'project_webhooks', 'webhooks', 'required');
$this->form_validation->set_rules (
'project_commitable', 'commitable', 'alpha');
$this->form_validation->set_rules (
'project_public', 'public', 'alpha');
$this->form_validation->set_rules (

View File

@ -134,7 +134,7 @@ $this->load->view (
?>
</div>
<div id='project_edit_description_preview' class='codepot-styled-text-preview'></div>
j
<div class='form_input_label'>
<?php print form_label('Webhooks: ', 'project_webhooks')?>
<?php print form_error('project_webhooks')?>
@ -145,7 +145,7 @@ j
'name' => 'project_webhooks',
'value' => set_value ('project_webhooks', $project->webhooks),
'id' => 'project_edit_webhooks',
'rows' => 20,
'rows' => 5,
'cols' => 80
);
print form_textarea($xdata);