diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-09-03 11:35:10 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-09-03 11:35:10 -0400 |
commit | 78540e2c0c19a39922d19846333740d416b5b487 (patch) | |
tree | 6685df36678315b41f7430da07cf87aae50edb82 /ui/jquery.ui.tabs.js | |
parent | ddb9a783a8120a734d15d808b25009057bb16ac1 (diff) | |
download | jquery-ui-78540e2c0c19a39922d19846333740d416b5b487.tar.gz jquery-ui-78540e2c0c19a39922d19846333740d416b5b487.zip |
Tabs: Allow non-latin characters for ids. Fixes #4581 - title attribute for remote tabs does not support foreign languages.
Diffstat (limited to 'ui/jquery.ui.tabs.js')
-rw-r--r-- | ui/jquery.ui.tabs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 98b90c289..8b63992a5 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -63,7 +63,7 @@ $.widget( "ui.tabs", { }, _tabId: function( a ) { - return a.title && a.title.replace( /\s/g, "_" ).replace( /[^A-Za-z0-9\-_:\.]/g, "" ) || + return a.title && a.title.replace( /\s/g, "_" ).replace( /[^\w\u00c0-\uFFFF-]/g, "" ) || this.options.idPrefix + getNextTabId(); }, |