Browse Source
Merge pull request #3430 from emyasnikov/3418-panels-visible-attribute
Fixed issue with panels visible attribute being not used.
pull/3487/head
Artur Arseniev
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
src/panels/view/PanelView.js
|
|
|
@ -120,6 +120,8 @@ export default Backbone.View.extend({ |
|
|
|
const cls = `${this.className} ${this.id} ${ppfx}one-bg ${ppfx}two-color`; |
|
|
|
$el.addClass(cls); |
|
|
|
|
|
|
|
this.toggleVisible(); |
|
|
|
|
|
|
|
if (this.buttons.length) { |
|
|
|
var buttons = new ButtonsView({ |
|
|
|
collection: this.buttons, |
|
|
|
|