mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Still let the selected tab be minimized by clicking on "-" button for v-tabs
This commit is contained in:
parent
c376aab408
commit
76106188dc
@ -352,7 +352,7 @@ var et2_tabbox = (function(){ "use strict"; return et2_valueWidget.extend([et2_I
|
|||||||
.text(entry.label || "Tab")
|
.text(entry.label || "Tab")
|
||||||
.click({"tabs": this, "idx": i}, function(e) {
|
.click({"tabs": this, "idx": i}, function(e) {
|
||||||
e.data.tabs.flagContainer.children(":eq(" + e.data.idx + ")").toggleClass('active');
|
e.data.tabs.flagContainer.children(":eq(" + e.data.idx + ")").toggleClass('active');
|
||||||
e.data.tabs.setActiveTab(e.data.idx);
|
if (e.data.tabs.selected_index != e.data.idx) e.data.tabs.setActiveTab(e.data.idx);
|
||||||
})
|
})
|
||||||
.appendTo(entry.flagDiv);
|
.appendTo(entry.flagDiv);
|
||||||
entry.contentDiv.appendTo(entry.flagDiv);
|
entry.contentDiv.appendTo(entry.flagDiv);
|
||||||
|
Loading…
Reference in New Issue
Block a user