From 63a6bf2cb8942d8ac4739ef2cb3aae7ae4634520 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Sun, 5 Feb 2012 03:10:26 +0000 Subject: [PATCH] in app, send location.href on init (fixes #352) --- source/Ox.UI/js/Core/Ox.App.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/Ox.UI/js/Core/Ox.App.js b/source/Ox.UI/js/Core/Ox.App.js index 9eba636f..db3107c7 100644 --- a/source/Ox.UI/js/Core/Ox.App.js +++ b/source/Ox.UI/js/Core/Ox.App.js @@ -50,6 +50,9 @@ Ox.App = function(options) { history: { length: history.length }, + location: { + href: location.href + }, navigator: { cookieEnabled: navigator.cookieEnabled, plugins: Ox.makeArray(navigator.plugins).map(function(plugin) {