Skip to main content

Search and Top Navigation

#8692 closed bug (notabug)

Opened October 17, 2012 07:17AM UTC

Closed October 17, 2012 03:16PM UTC

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.

Attachments (0)
Change History (1)

Changed October 17, 2012 03:16PM UTC by scottgonzalez comment:1

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.