diff --git a/js/index.js b/js/index.js index 9787bdd..9195d22 100644 --- a/js/index.js +++ b/js/index.js @@ -149,7 +149,10 @@ var profileId = routingOptions.getCustomProfile(); router.uploadProfile(profileId, evt.profileText, function(err, profile) { if (!err) { - routingOptions.setCustomProfile(profile); + routingOptions.setCustomProfile(profile, true); + updateRoute({ + options: routingOptions.getOptions() + }); if (!saveWarningShown) { BR.message.showWarning('Note: Uploaded custom profiles are only cached temporarily on the server.' + '
Please save your edits to your local PC.');