diff options
Diffstat (limited to 'frontends/php/include/views/administration.mediatypes.edit.php')
-rw-r--r-- | frontends/php/include/views/administration.mediatypes.edit.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/php/include/views/administration.mediatypes.edit.php b/frontends/php/include/views/administration.mediatypes.edit.php index 9608d54d9e1..b43cce53eac 100644 --- a/frontends/php/include/views/administration.mediatypes.edit.php +++ b/frontends/php/include/views/administration.mediatypes.edit.php @@ -26,12 +26,11 @@ $mediaTypeWidget->addPageHeader(_('CONFIGURATION OF MEDIA TYPES')); $mediaTypeForm = new CForm(); $mediaTypeForm->setName('mediaTypeForm'); $mediaTypeForm->addVar('form', $this->data['form']); -$mediaTypeForm->addVar('form_refresh', $this->data['form_refresh'] + 1); $mediaTypeForm->addVar('mediatypeid', $this->data['mediatypeid']); // create form list $mediaTypeFormList = new CFormList('mediaTypeFormList'); -$nameTextBox = new CTextBox('description', $this->data['description'], ZBX_TEXTBOX_STANDARD_SIZE, 'no', 100); +$nameTextBox = new CTextBox('description', $this->data['description'], ZBX_TEXTBOX_STANDARD_SIZE, false, 100); $nameTextBox->attr('autofocus', 'autofocus'); $mediaTypeFormList->addRow(_('Name'), $nameTextBox); |