Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-2215

Small code improvement in JS

    XMLWordPrintable

    Details

      Description

      File: include/views/js/configuration.item.edit.js.php
      Starting in line 123
      Change of:
      if (type == 0 || type == 7 || type == 3 || type == 5 || type == 8 || type == 17)

      { jQuery('#keyButton').prop('disabled', false); }

      else

      { jQuery('#keyButton').prop('disabled', true); }

      For more small code:
      jQuery('#keyButton').prop('disabled', !(type == 0 || type == 7 || type == 3 || type == 5 || type == 8 || type == 17));

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            spaww Adail Horst
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: