Side navigation
#6745 closed bug (invalid)
Opened June 30, 2010 11:20AM UTC
Closed July 02, 2010 02:37AM UTC
jQuery UI Tabs Plugin Update of _tabId regex for replace
Reported by: | ZlatanO | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | manipulation | Version: | 1.4.2 |
Keywords: | tabs, href, title, id, _tabId, jquery UI, regex,.. | Cc: | |
Blocked by: | Blocking: |
Description
Hi.
I'm using jquery and all of the UI components, and I found out if I want to label a tab with for example: "Hi (All Of You)", it will create an id (in href attribute of link generated): "hi-(all-of-you)".
It means that in the regex (this one:
_tabId: function(a) {
return a.title && a.title.replace(/\\s/g, '_').replace(/[^A-Za-z0-9\\-_:\\.]/g, '') ||
this.options.idPrefix + (++tabId);
},
)
has no replace regex for these two signs: ( and ).
Also, all the contents from other tabs are displayed in first child of the whole plugin.
I'm using this tabs plugin, but I don't know regex at all and I couldn't get it to work, so I think you could upgrade it in the next version.
Your upgrade will help me and all others who use it.
Greetings from Bosnia and Herzegovina by Zlatan.
Attachments (1)
Change History (1)
Changed July 02, 2010 02:37AM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Please report jQuery UI bugs in the UI bug tracker: http://dev.jqueryui.com