Skip to main content

Search and Top Navigation

#4665 closed bug (wontfix)

Opened July 10, 2009 01:44PM UTC

Closed October 15, 2012 09:11PM UTC

jQuery UI 1.7.2 - Opera(9.63) issue with Form submitting through a dialog .

Reported by: vrn_shan Owned by:
Priority: major Milestone: 1.10.0
Component: ui.dialog Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

We are using jQuery 1.3.2 and jQuery UI 1.7.2 in our project.

Everything was working perfect till we were using jQuery UI 1.7.1. Then we upgraded to jQuery UI 1.7.2, but it is causing a trouble in Opera (9.63).

The issue is as follows :-

There is a jQuery UI dialog with a textarea and a submit button which posts the data in "textarea" to the server. Before opening the dialog the value of textarea is set to blank. Also I am using Modal:true to get the overlay.

Now when I open the dialog for the 1st time, enter some data in textarea and click submit, it posts the data to server.Then I close the dialog, and reopen it, again enter some text in the text area and submit again. This time it is posting empty data (or whatever value was set for the "textarea" before openeing the dialog.)

The issue is only in Opera and rest browsers are working fine. Even opera works fine if i set modal as false, or if i use jQuery UI 1.7.1.

I am attaching a sample program to demonstrate this issue.

Attachments (1)
  • sample_program.zip (52.0 KB) - added by vrn_shan July 10, 2009 01:54PM UTC.

    Run the Html file using Opera

Change History (5)

Changed July 20, 2009 11:46PM UTC by scottgonzalez comment:1

component: ui.coreui.dialog
milestone: TBD1.8

Changed December 16, 2009 06:31PM UTC by cdael comment:2

This doesn't seem to be dependent on setting the value of the textarea. The second and subsequent openings of the dialog will retain the value from when the dialog was closed, whether this was done via the [X] button or a Cancel button that calls $(this).dialog('close'). The locked-in value will also be given to the server if the form is submitted.

Behavior observed in Opera-10.10 with jquery-1.3.2 and jquery-ui-1.7.2. As noted by the reporter, jquery-ui-1.7.1 from the Google CDN works fine.

Changed September 08, 2011 01:21PM UTC by scottgonzalez comment:3

This works properly in Opera 11.5x. Opera is super whacky with form fields in dialogs. See #7577 as well.

Changed October 11, 2012 02:47PM UTC by scottgonzalez comment:4

milestone: 1.9.01.10.0

Changed October 15, 2012 09:11PM UTC by petersendidit comment:5

resolution: → wontfix
status: newclosed

This works in all the versions of Opera that we support.