tabs: always reactivate link on set value (avoids link deactivation when editing content)
This commit is contained in:
parent
9fadd95e28
commit
e1094b6629
1 changed files with 2 additions and 1 deletions
|
|
@ -186,12 +186,13 @@ module.exports = class Panel extends _widgets_base {
|
|||
|
||||
this.tabs[v].show()
|
||||
|
||||
this.navigation.find('li').removeClass('on').eq(v).addClass('on')
|
||||
this.value = v
|
||||
|
||||
$(window).resize()
|
||||
|
||||
}
|
||||
|
||||
this.navigation.find('li').removeClass('on').eq(v).addClass('on')
|
||||
|
||||
if (options.send) this.sendValue()
|
||||
if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue