Ad Widget

Collapse

Zabbix 1.9.6 Build 21430 - Invalid JS syntax

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Palmertree
    Senior Member
    • Sep 2005
    • 746

    #1

    Zabbix 1.9.6 Build 21430 - Invalid JS syntax

    Found a few comas that cause some browser to misbehave when reading in java scripts.

    Code:
    --- class.cmap.js.orig  2011-09-06 16:20:19.459033978 -0400
    +++ class.cmap.js       2011-09-06 16:20:24.889663280 -0400
    @@ -801,7 +801,7 @@
                            this.updateIcon();
                            this.domNode.css({
                                    top: this.data.y + 'px',
    -                               left: this.data.x + 'px',
    +                               left: this.data.x + 'px'
                            });
                    }
                    Selement.prototype = {
    
    
    --- class.cmessages.js.orig     2011-09-06 16:21:33.244592527 -0400
    +++ class.cmessages.js  2011-09-06 16:22:51.780700911 -0400
    @@ -77,7 +77,7 @@
            jQuery(this.dom.container).draggable({
                    handle: [this.dom.caption, this.dom.move], //this.dom.header,
                    axis: 'y',
    -               containment: [0,0,0,1600],//'document',
    +               containment: [0,0,0,1600]//'document',
            });
     },
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    can you please report this on the tracker ? hopefully will be fixed quickly enough
    Zabbix 3.0 Network Monitoring book

    Comment

    Working...