From fce33195a7a1830d55ad54a924546ead717ca182 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 31 Dec 2015 05:44:14 +0300 Subject: [PATCH] fixed a bug in location... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/location.js | 4 +--- ui (gen4)/features/ui.js | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ui (gen4)/features/location.js b/ui (gen4)/features/location.js index 36e698d9..0d302665 100755 --- a/ui (gen4)/features/location.js +++ b/ui (gen4)/features/location.js @@ -55,9 +55,7 @@ var LocationActions = actions.Actions({ this.__location.path = b } - if(this.__location.current == null){ - this.__location.current = this.current - } + this.__location.current = this.current return this.__location }, diff --git a/ui (gen4)/features/ui.js b/ui (gen4)/features/ui.js index 413097bd..5acc0a06 100755 --- a/ui (gen4)/features/ui.js +++ b/ui (gen4)/features/ui.js @@ -2866,6 +2866,7 @@ module.IndirectControl = core.ImageGridFeatures.Feature({ // XXX make this work for external links in a stable manner... // ...a bit unpredictable when working in combination with history // feature -- need to stop them from competing... +// ...appears to be a bug in location.... var URLHash = module.URLHash = core.ImageGridFeatures.Feature({ title: 'Handle URL hash',