| 540 | |
| 541 | Infopanel = (function() { |
| 542 | function Infopanel(elem) { |
| 543 | this.elem = elem; |
| 544 | this.setAction = bind(this.setAction, this); |
| 545 | this.setClosedNum = bind(this.setClosedNum, this); |
| 546 | this.setTitle = bind(this.setTitle, this); |
| 547 | this.open = bind(this.open, this); |
| 548 | this.close = bind(this.close, this); |
| 549 | this.hide = bind(this.hide, this); |
| 550 | this.updateEvents = bind(this.updateEvents, this); |
| 551 | this.show = bind(this.show, this); |
| 552 | this.visible = false; |
| 553 | } |
| 554 | |
| 555 | Infopanel.prototype.show = function(closed) { |
| 556 | if (closed == null) { |