Skip to main content

Search and Top Navigation

#7737 closed bug (fixed)

Opened September 25, 2011 12:10PM UTC

Closed October 22, 2012 09:01PM UTC

change event for form elements not firing inside dialog when closed by "X"

Reported by: colcode Owned by:
Priority: minor Milestone: 1.9.1
Component: ui.dialog Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:
Description

A form element (textbox, textarea) usually triggers onchange

event when the element leaves focus (onblur) and the contents

of the element is changed. In Firefox (tested 6.0.2) the onchange

event is NOT firing when dialog is closed by clicking "X".

More precisely:

  • open dialog with a textbox or textarea
  • type something
  • click "X" to close

I'm pretty sure it worked in earlier versions of FF (3.0 or older).

IE9 and Safari seem to work ok.

Testcase: http://www.colcode.com/bug/jquery-dialog-onchange-not-firing.html

Attachments (0)
Change History (4)

Changed September 26, 2011 06:11PM UTC by scottgonzalez comment:1

status: newopen

This is caused by .disableSelection() canceling the mousedown inside the titlebar. See #7735 for related ticket.

Changed September 26, 2011 06:12PM UTC by scottgonzalez comment:2

blockedby: → 7735

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

milestone: 1.9.01.10.0

Changed October 22, 2012 09:01PM UTC by scottgonzalez comment:4

milestone: 1.10.01.9.1
resolution: → fixed
status: openclosed

Fixed in 1a696678878f48748912b4c9d5df6da91c760b98.