Skip to main content

Search and Top Navigation

#7494 closed bug (notabug)

Opened June 22, 2011 08:10AM UTC

Closed June 22, 2011 12:28PM UTC

IE9 Issue : Jquery modal dialog is navigating to incorrect virtual directory path

Reported by: 8over8development Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.5
Keywords: Cc:
Blocked by: Blocking:
Description

Hi All,

I hope you may be able to help and more importantly i will be able to accurately describe the issue we are having...

We have 2 pages 1 containing a call to open a dialog to the 2nd page, the 1st page is a grid page displaying details of an entity and the 2nd page is a lookup screen for users.

Page 1 calls from a button click to a javascript function [function addBuyer()] which opens Page 2 as the user lookup. When the buyers have been added the popup Page 2 then does the following:

dialog.returnValue = buyers;

dialog.close();

This then fires a function we have on the parent opening page [function onDialogClose()] which performs a refresh on page 1 to display the most recent table of users. In this javascript function there is a call to navigate using document.location to a page ApprovalGroupMaintain_AddUser within the same directory as Page 1 in order to add the users (information passed in the url string and encoded). This is where the problem arises in IE 9 in that it is attempting to find the action page ApprovalGroupMaintain_AddUser in the directory of Page 2 rather than as expected in the directory of the parent page (Page 1).

Hopefully that is clear enough, the file paths are as follows for a little more clarity:

Page 1 C:\\WebRoot\\VirtualDirectory\\SystemAdmin\\ApprovalGroups\\ApprovalGroupMaintain.aspx [Parent Page]

Page 2

C:\\WebRoot\\VirtualDirectory\\Team\\Search\\BuyerSearchPopup.aspx [User Lookup Page]

Action Page

C:\\WebRoot\\VirtualDirectory\\SystemAdmin\\ApprovalGroups\\ApprovalGroupMaintain_AddUsers.aspx [Action Page]

We are using jQuery version [jquery-1.4.1.min.js] with [Dialog.js] and jQuery UI version [jquery-ui-1.7.2.custom.min.js]...

Hope someone can help...

Regards,

Jarlath

Attachments (0)
Change History (1)

Changed June 22, 2011 12:28PM UTC by rdworth comment:1

resolution: → invalid
status: newclosed

Please post to the forum http://forum.jquery.com/using-jquery-ui