Ad Widget

Collapse

[1.3.2] Graph Items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kurzhaarhippie
    Junior Member
    • Dec 2006
    • 14

    #1

    [1.3.2] Graph Items

    When creating a new graph item, window for parameter selection pops up. If you choose "Select", the overview over the items comes up in the same popup and all item links there point to "#".

    That means you can not select any graph item.
  • timmi
    Junior Member
    • Jul 2005
    • 8

    #2
    I can't complete this step too. Both in ie 6.0.2900.2180 and firefox 2.0.1.
    Last edited by timmi; 17-01-2007, 11:57.

    Comment

    • peacestgt
      Junior Member
      • Jan 2007
      • 17

      #3
      same here
      firefox 2.0.0.1
      IE 7.0.5730.11

      Comment

      • timmi
        Junior Member
        • Jul 2005
        • 8

        #4
        Problem is that when you press Select button - should open a new window, but it doesnt. If in page "New item for the graph" you copy address of a page (from right-click->properties, for me it's http://my.ip/popup_gitem.php?dstfrm=...ph&graphtype=0) and paste it to a new browser window or new tab - it's work fine, when you press Select - opens a new window and after select item it pastes into input field. But when you do just from "New item for the graph" page, which opened by popup function from Graph page - it doesnt work.
        same on vista/ie7

        Comment

        • dataman
          Junior Member
          • Jan 2007
          • 10

          #5
          The java script seems broken:


          Unknown property 'writing-mode'. Declaration dropped. css.css (line 1007)

          window.opener.document.forms.graph_item has no properties
          popup.php?dstfrm=... (line 1)
          onclick popup.php?dstfrm=... (line 1)

          <a onclick="window.opener.document.forms['graph_item'].itemid.value='17325';window.opener.document.forms['graph_item'].description.value='Server:WEB (HTTP) server is running'; window.close();" href="#" class="action">WEB (HTTP) server is running</a>

          Comment

          • timmi
            Junior Member
            • Jul 2005
            • 8

            #6
            it's a missed params for function PopUp.

            diff for include/forms.inc.php fixes this problem (line 1611, should add ,450,450,'some_window' )

            1611c1611


            < "srctbl=items&srcfld1=itemid&srcfld2=description". $host_condition."');");
            ---
            > "srctbl=items&srcfld1=itemid&srcfld2=description". $host_condition."',450,450,'some_window');");

            Comment

            • dataman
              Junior Member
              • Jan 2007
              • 10

              #7
              Nice job timmi.

              Comment

              • clahti
                Senior Member
                • Jan 2007
                • 126

                #8
                Originally posted by dataman
                Nice job timmi.
                Yes, this works like a charm.

                Comment

                • Alexei
                  Founder, CEO
                  Zabbix Certified Trainer
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Sep 2004
                  • 5654

                  #9
                  It seems the issue has been fixed either in 1.3.3 or in pre 1.3.4.
                  Alexei Vladishev
                  Creator of Zabbix, Product manager
                  New York | Tokyo | Riga
                  My Twitter

                  Comment

                  Working...