Tabs: how to set one tab non-closable and other tabs closable?
Greetings, everyone!
While looking at the jQuery UI tabs demo, it looks to me that the closable tab is done through a custom tab template:
tabTemplate: '<li><a href="#{href}">#{label}</a> <span class="ui-icon ui-icon-close">Remove Tab</span></li>',
which applies to every tab, if I am not mistaken. However, what I need is that when my tabs first load, there will be one and only one tab, which is NOT closable; every tab added afterward needs to be closable. Can someone please shed some light on this?