Skip to main content

Bug Tracker

Side navigation

#1990 closed bug (duplicate)

Opened November 28, 2007 11:52PM UTC

Closed December 08, 2007 11:44AM UTC

Can not have multiple dialogs in latest version of UI

Reported by: rbrackett Owned by: rworth
Priority: major Milestone: 1.2.2
Component: ui Version: 1.2.1
Keywords: dialog Cc:
Blocked by: Blocking:
Description

In fixing Ticket #1684, the ability to have multiple dialogs was lost. They 'new' keyword is no longer being used to create dialog objects and thus all dialogs are sharing the same data. As an example, if I create two dialogs, dialog1 and dialog2, and then call

dialog1.dialogOpen();
, dialog2 gets opened. This is an easy fix: just add the 'new' keyword to line 12 of ui.dialog.js.

I've included a patch for convenience.

Attachments (1)
  • multipleDialogsPatch.diff (0.4 KB) - added by rbrackett November 28, 2007 11:53PM UTC.

    Fix to let multiple dialogs work again in UI

Change History (3)

Changed November 30, 2007 05:28PM UTC by paul comment:1

owner: → rworth

Changed December 03, 2007 04:24AM UTC by Xichekolas comment:2

Just want to comment that I made this change and it definitely fixed the multiple dialog closing issue I was having. Thanks rbrackett!

Changed December 08, 2007 11:44AM UTC by rworth comment:3

resolution: → duplicate
status: newclosed

Fixed by #2008 in rev4075