Opened 7 years ago

Closed 7 years ago

#8692 closed bug (notabug)

Button class added not overwritten using dialog

Reported by: UNeverNo Owned by:
Priority: minor Milestone: 1.10.0
Component: ui.dialog Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:

Description

Please see the example provided here: http://jsfiddle.net/NVgf3/

I explicitly set a class for each button to set a specific icon, but this fails because the class gets added and doesn't overwrite the existing ones.

I wasn't able to configure jsfiddle to run it with the latest jQuery UI, but I guess the problem will be still there.

The error occurs in firefox 16.0.1, Chrome 17.0.963.66, IE 8.00.6001.18702 using Win XP.

Change History (1)

comment:1 Changed 7 years ago by Scott González

Resolution: notabug
Status: newclosed

This is expected behavior. Also note that you're not using the API properly, you should be passing an array for buttons. Please use the forums or StackOverflow for help.

Note: See TracTickets for help on using tickets.