src/widgets/Segments.js
branchplayers-as-widgets
changeset 959 ee11ed1b739e
parent 957 4da0a5740b6c
child 964 d7d56ea2d0a6
equal deleted inserted replaced
958:2aa7fdb0762a 959:ee11ed1b739e
    74         _annotation.on("unselect", function() {
    74         _annotation.on("unselect", function() {
    75             _this.tooltip.hide();
    75             _this.tooltip.hide();
    76             _this.$segments.removeClass("inactive active");
    76             _this.$segments.removeClass("inactive active");
    77         });
    77         });
    78     });
    78     });
    79     this.insertSubwidget(this.$.find(".Ldt-Segments-Tooltip"), "tooltip", { type: "Tooltip" });
    79     this.insertSubwidget(this.$.find(".Ldt-Segments-Tooltip"), { type: "Tooltip" }, "tooltip");
    80     this.$segments = this.$.find('.Ldt-Segments-Segment');
    80     this.$segments = this.$.find('.Ldt-Segments-Segment');
    81 }
    81 }
    82 
    82 
    83 IriSP.Widgets.Segments.prototype.onSearch = function(searchString) {
    83 IriSP.Widgets.Segments.prototype.onSearch = function(searchString) {
    84     this.searchString = typeof searchString !== "undefined" ? searchString : '';
    84     this.searchString = typeof searchString !== "undefined" ? searchString : '';