Skip to main content

Bug Tracker

Side navigation

#4093 closed bug (invalid)

Opened February 07, 2009 10:59PM UTC

Closed May 10, 2009 04:06AM UTC

Last modified March 15, 2012 02:08PM UTC

In case of space in query string, then contents of dialog will not be loaded in dialog by load method

Reported by: skrshetty Owned by:
Priority: major Milestone: 1.3.2
Component: plugin Version: 1.3.1
Keywords: UI Cc:
Blocked by: Blocking:
Description

For example

$('<div id="demo3">').load('pag1.html?country= united kingdom').dialog({ ..

Then only dialog get launched and not the contents of html file page1.htm inside that dialog.

Attachments (1)
  • index.html (4.9 KB) - added by skrshetty February 07, 2009 11:00PM UTC.

    Modified your example with query string to replicate the bug. none of the dialog will not be loaded with data

Change History (5)

Changed February 07, 2009 11:14PM UTC by skrshetty comment:1

Its happenning because URL encoding is not happening in load() function.

Changed February 07, 2009 11:26PM UTC by skrshetty comment:2

$('<div id="demo3">').load(escape('pag1.html?country= united kingdom')).dialog({ ..

will work fine..

Changed February 10, 2009 01:22AM UTC by dmethvin comment:3

If you are referring to UI dialog, a bug should be opened in the UI bug tracker. See the big red box at the top of the new ticket page for a link.

Changed May 10, 2009 04:06AM UTC by dmethvin comment:4

resolution: → invalid
status: newclosed

Changed May 10, 2009 02:28PM UTC by dmethvin comment:5

On further review, the issue with this is definitely in

load
but that method is documented to use the space to separate the url from an (optional) selector that is applied to the returned html/xml:

http://docs.jquery.com/Ajax/load#urldatacallback

I've updated the documentation to clarify.