Fix rename of label to title in xxx2Many
The changeset a05aa6335ba6 renamed the label variable into title but it misses the id attribute management. issue5861
This commit is contained in:
1 parent
3e735b24c5
commit
65e3f3d39c
1 file changed
+6
-6
+6
-6
@@ -2103,10 +2103,10 @@
|
||||
});
|
||||
this.menu.append(this.title);
|
||||
|
||||
label.uniqueId();
|
||||
this.title.uniqueId();
|
||||
this.el.uniqueId();
|
||||
this.el.attr('aria-labelledby', label.attr('id'));
|
||||
label.attr('for', this.el.attr('id'));
|
||||
this.el.attr('aria-labelledby', this.title.attr('id'));
|
||||
this.title.attr('for', this.el.attr('id'));
|
||||
|
||||
var toolbar = jQuery('<div/>', {
|
||||
'class': this.class_ + '-toolbar'
|
||||
@@ -2592,10 +2592,10 @@
|
||||
});
|
||||
this.menu.append(this.title);
|
||||
|
||||
label.uniqueId();
|
||||
this.title.uniqueId();
|
||||
this.el.uniqueId();
|
||||
this.el.attr('aria-labelledby', label.attr('id'));
|
||||
label.attr('for', this.el.attr('id'));
|
||||
this.el.attr('aria-labelledby', this.title.attr('id'));
|
||||
this.title.attr('for', this.el.attr('id'));
|
||||
|
||||
var toolbar = jQuery('<div/>', {
|
||||
'class': this.class_ + '-toolbar'
|
||||
|
||||
Reference in new issue
Block a user