Skip to content

Commit

Permalink
Fix for golden-layout#107 Set title attribute on tab to match lm_tab …
Browse files Browse the repository at this point in the history
…in main layout.
  • Loading branch information
sholybonoly committed May 15, 2016
1 parent b860192 commit 3634def
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/controls/DragProxy.js
Expand Up @@ -30,6 +30,7 @@ lm.controls.DragProxy = function( x, y, dragListener, layoutManager, contentItem

this.element = $( lm.controls.DragProxy._template );
this.element.css({ left: x, top: y });
this.element.find( '.lm_tab' ).attr( 'title', lm.utils.stripTags( this._contentItem.config.title ) );
this.element.find( '.lm_title' ).html( this._contentItem.config.title );
this.childElementContainer = this.element.find( '.lm_content' );
this.childElementContainer.append( contentItem.element );
Expand Down

0 comments on commit 3634def

Please sign in to comment.