Opened 14 years ago

Closed 14 years ago

#2544 closed bug (notabug)

[ui-dialog] Problem when using JQuery with (ajax enabled)

Reported by: Nordes Owned by: rdworth
Priority: minor Milestone:
Component: ui.dialog Version: 1.5b4
Keywords: dialog drag and drop bug. Cc:
Blocked by: Blocking:


When I have a scriptmanager inside my page and then I try to use the jquery ui, I have a conflict at the following block of code:

prop: function( elem, value, type, i, name ) {
		// Handle executable functions
		if ( jQuery.isFunction( value ) )
			value = elem, i );
		// Handle passing in a number to a CSS property
		return value && value.constructor == Number && type == "curCSS" && !exclude.test( name ) ?
			value + "px" :

I actually create a dialog window dialog as following and when I drag that window or click on it I have an error:

	title: 'Add a new skill',
	width: 640, 
	height: 480,
	autoOpen: false // do not open automatically the popup

In firefox when i load the page and then open the popup every thing is fine, but when I open it in IE I have a conflict saying that the type is not valid.

(If you need a screenshot, i can send one)

Actually to make it work, I did a small fix as shown bellow, but maybe it should be fixed differently.

(approx line 186)

return this.each(function(i){
			// Set all the styles
			for ( name in options ){
				if (name != "localeFormat" && name != "format"){ // Quick fix to work with the atlas (ajax).
						type ? :
						name, jQuery.prop( this, options[ name ], type, i, name )

Change History (6)

comment:1 in reply to:  description Changed 14 years ago by Nordes

The error message generated in javascript is the following: elem, i ) Sys.ArgumentTypeException: Object of type 'Number' cannot be converted to type 'String'. Parameter name: format Error

comment:2 Changed 14 years ago by paul

Owner: changed from paul to rworth
Summary: Problem when using JQuery with (ajax enabled)[ui-dialog] Problem when using JQuery with (ajax enabled)

comment:3 Changed 14 years ago by paul

Priority: majorminor

comment:4 Changed 14 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:5 Changed 14 years ago by paul

Component: ui.coreui.dialog

comment:6 Changed 14 years ago by Scott González

Resolution: invalid
Status: newclosed

The code you proposed a change for is in core. Please create a new ticket in the core bugtracker.

Note: See TracTickets for help on using tickets.