Skip to main content

Search and Top Navigation

#4706 closed bug (fixed)

Opened July 23, 2009 11:25AM UTC

Closed November 12, 2009 01:15AM UTC

Last modified January 17, 2010 06:09AM UTC

Dialog: can't get value from textarea in modal dialog second time dialog is opened in Opera

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

See

http://jsbin.com/ufego

Steps to reproduce in Opera:

1. Click 'click here' link to open the dialog

2. Type 'some text' in the textarea

3. Click 'Alert' button to close the dialog

4. See 'some text' in the alert

5. Close the dialog

6. Click 'click here' link to open the dialog

7. Type 'some more text' in the textarea

8. Click 'Alert' button to close the dialog

Expected result:

  • See 'some more text' in the alert

Actual result:

  • See no text in the alert

Doesn't happen if you set modal: false, or do in browsers other than Opera.

Attachments (0)
Change History (5)

Changed August 06, 2009 05:46PM UTC by jzaefferer comment:1

Refactored testpage: http://jsbin.com/ovovo/edit

Changed August 06, 2009 05:49PM UTC by jzaefferer comment:2

Another odd behaviour: Don't remove the textarea value on the button-click, then open the dialog, enter something, alert, close, open, remove text manually, alert - that will still alert what you entered previously.

Changed August 06, 2009 05:54PM UTC by jzaefferer comment:3

Further refactored code: http://jsbin.com/ajasu/edit

Changed August 06, 2009 05:56PM UTC by jzaefferer comment:4

Neither Scott nor I get anywhere with this. Could you try to produce a testcase with the use of jQuery UI, that we or you could submit to Opera?

Changed November 12, 2009 01:15AM UTC by scottgonzalez comment:5

resolution: → fixed
status: newclosed

I honestly have no idea what the problem was, but it no longer exists in trunk.