editor: fix context addtab to root
This commit is contained in:
parent
5126f1bdc1
commit
dd2d468b01
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ var handleClick = function(event) {
|
|||
data[0].tabs.push({})
|
||||
|
||||
var indexes = {addedIndexes: [data[0].tabs.length -1]}
|
||||
updateWidget(widget, indexes)
|
||||
updateWidget(editor.selectedWidgets[0], indexes)
|
||||
editor.pushHistory(indexes)
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue