diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-12-10 15:45:43 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-12-10 15:45:43 +0000 |
| commit | e486dc3d851b74b984c3433deaff836e69ea7507 (patch) | |
| tree | d1eaae083fcb9cf23b8b30e911443e9ae9932786 /frontends/php/include/classes | |
| parent | 024d1de15b266f8c7536c79657d5940ae9292689 (diff) | |
| download | zabbix-e486dc3d851b74b984c3433deaff836e69ea7507.tar.gz zabbix-e486dc3d851b74b984c3433deaff836e69ea7507.tar.xz zabbix-e486dc3d851b74b984c3433deaff836e69ea7507.zip | |
- [ZBX-200] improved Sysmap links color selection, changes in schema (Artem),
- [ZBX-190] fixed typo in triggers.inc.php (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5154 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes')
| -rw-r--r-- | frontends/php/include/classes/ccolor.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/php/include/classes/ccolor.inc.php b/frontends/php/include/classes/ccolor.inc.php index d63b2582..dad01cc7 100644 --- a/frontends/php/include/classes/ccolor.inc.php +++ b/frontends/php/include/classes/ccolor.inc.php @@ -208,9 +208,10 @@ else if (document.getElementById) $lbl = new CColorCell('lbl_'.$name, $value, 'show_color_picker(\''.$name.'\')'); $txt = new CTextBox($name,$value,7); + $txt->AddOption('maxlength', 6); $txt->AddOption('id', $name); $txt->AddAction('onchange', 'set_color_by_name(\''.$name.'\',this.value)'); - $txt->AddOption('style', 'margin: 0px'); + $txt->AddOption('style', 'margin-top: 0px; margin-bottom: 0px'); $this->AddItem(array($txt, $lbl)); insert_show_color_picker_javascript(); |
