partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit e380790c8f42341f87e738d22ed3ea2b9ff09588
parent 6151f64752ea172e54c039ceaacb890db4fab0be
Author: Felicitus <felicitus@felicitus.org>
Date:   Tue, 17 Nov 2015 01:41:13 +0100

Fixes redirect after setup, relates to #480

Diffstat:
Mweb/setup/js/SetupWizard.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/setup/js/SetupWizard.js b/web/setup/js/SetupWizard.js @@ -44,8 +44,8 @@ Ext.define('PartKeeprSetup.SetupWizard', { this.items = this.setupCards(); this.on("submit", function () { var target = window.location.href.replace(/setup\/index.html$/, ""); - target.replace(/setup\/$/, ""); - target.replace(/setup$/, ""); + target = target.replace(/setup\/$/, ""); + target = target.replace(/setup$/, ""); window.location.href = target; });