Just use uri.setData({'foo': 'bar'});

http://mooshell.net/T79Bu/

On Thu, Dec 10, 2009 at 5:18 PM, woomla <woo...@gmail.com> wrote:
> Hi,
>
> When I execute the example in the documentation:
> myURI.setData('foo', 'bar'); //sets foo=bar in the query string
>
> I expect:
> http://mooshell.net/_display/light/omd.html?foo=bar
>
> but I get:
> http://mooshell.net/_display/light/omd.html?[object Object]=bar
>
>
> After a little bit of debugging I see that after executing
> Values = this.getData();
>
> in more's URI.getData, argument[0] is an object. Before if was 'foo'.
>
>
> See: http://mooshell.net/mK2mJ/1
>

Reply via email to