#8488 closed bug (duplicate)
Dialog does not set text of generated buttons properly
Reported by: | staticdream | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.dialog | Version: | 1.8.21 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Using jquery 1.8 and jqueryui 1.8.22, dynamically generated buttons do not get their text assigned correctly.
eg. dialog button span's html does not get filled with button text. $("#confirm_dialog").dialog({
autoOpen: false, modal: true, width: 380, buttons: {
"Ok": function() {
$( this ).dialog( "close" );
}
}
}); fix for bug where button text never gets assigned to dialog buttons $("#confirm_dialog").parent().find("button[text='Ok']").find("span").html("Ok");
Change History (2)
comment:1 Changed 11 years ago by
Component: | ui.core → ui.dialog |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
comment:2 Changed 11 years ago by
Note: See
TracTickets for help on using
tickets.
Duplicate of #8484.