Ticket #4376 (closed bug: notabug)
ui.tags add method not consistent with _tabify
|Reported by:||biaggi||Owned by:|
Despite you can use any html code in the tabs with the tabTemplate option, the _tabify method is looking for ul to insert new tabs when add method is called.
You can reproduce this error using the tabTemplate example: http://docs.jquery.com/UI/API/1.7/Tabs#option-tabTemplate
A workaround is to extend the class and overwrite that method updating that two lines with the html element you choose.
A good solution i guess would be to parse the tabTemplate option to get from there the element you need to look for.