Skip to main content

Search and Top Navigation

#8488 closed bug (duplicate)

Opened August 11, 2012 06:03AM UTC

Closed August 11, 2012 12:33PM UTC

Last modified August 11, 2012 12:33PM UTC

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");

Attachments (0)
Change History (2)

Changed August 11, 2012 12:33PM UTC by scottgonzalez comment:1

component: ui.coreui.dialog
resolution: → duplicate
status: newclosed

Changed August 11, 2012 12:33PM UTC by scottgonzalez comment:2

Duplicate of #8484.