Restrict ReactEditorView::getPane implementation

This commit is contained in:
Nathan Sobo
2014-07-14 13:22:38 -06:00
parent c4177aba3e
commit 4a8ac85ffb

View File

@@ -140,7 +140,7 @@ class ReactEditorView extends View
pane?.splitDown(pane?.copyActiveItem()).activeView
getPane: ->
@closest('.pane').view()
@parent('.item-views').parents('.pane').view()
focus: ->
if @component?