jsdialog: send correct id on tab switch
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: Ie098b2f6f2e6333765658e4d27eab6052735bc8f
This commit is contained in:
parent
3dde59c9d7
commit
5457c51d76
1 changed files with 1 additions and 1 deletions
|
@ -1090,7 +1090,7 @@ L.Control.JSDialogBuilder = L.Control.extend({
|
|||
return function(event) {
|
||||
builder._createTabClick(builder, id, tabs, contentDivs, tabIds)(event);
|
||||
if (data.tabs[id].id - 1 >= 0)
|
||||
builder.callback('tabcontrol', 'selecttab', tabsContainer, id, builder);
|
||||
builder.callback('tabcontrol', 'selecttab', tabWidgetRootContainer, id, builder);
|
||||
};
|
||||
};
|
||||
$(tabs[t]).click(fn(t));
|
||||
|
|
Loading…
Reference in a new issue