fixed flaws in webhooks changes
This commit is contained in:
parent
6918ab1f41
commit
05e306dcb5
@ -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 (
|
||||
|
@ -130,11 +130,11 @@ $this->load->view (
|
||||
'rows' => 20,
|
||||
'cols' => 80
|
||||
);
|
||||
print form_textarea ($xdata);
|
||||
print form_textarea($xdata);
|
||||
?>
|
||||
</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);
|
||||
|
Loading…
Reference in New Issue
Block a user