From 06f02cf37b75732a04f2d616c84f7752009789f5 Mon Sep 17 00:00:00 2001
From: ArnaudCerisier <arnaud.cerisier@gmail.com>
Date: Thu, 1 Jun 2017 10:33:23 +0200
Subject: [PATCH] fix Duniter node Join: remove focus (bug on Firefox) - fix
issue #464
---
doc/fr/development_tutorial-01.md | 8 ++++----
www/js/controllers/join-controllers.js | 5 +++--
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/doc/fr/development_tutorial-01.md b/doc/fr/development_tutorial-01.md
index 8535b620f..a59badc1e 100644
--- a/doc/fr/development_tutorial-01.md
+++ b/doc/fr/development_tutorial-01.md
@@ -209,15 +209,15 @@ La configuration par défaut de notre environnement est visible dans le fichier
"installDocUrl": "https://github.com/duniter/duniter/blob/master/doc/install-a-node.md"
},
"node": {
- "host": "cgeek.fr",
- "port": "9330"
+ "host": "g1.duniter.org",
+ "port": "443"
},
"plugins":{
"es": {
"enable": true,
"askEnable": false,
- "host": "data.duniter.fr",
- "port": "80"
+ "host": "g1.data.duniter.fr",
+ "port": "443"
}
}
},
diff --git a/www/js/controllers/join-controllers.js b/www/js/controllers/join-controllers.js
index cc099bfe2..71476558b 100644
--- a/www/js/controllers/join-controllers.js
+++ b/www/js/controllers/join-controllers.js
@@ -254,11 +254,12 @@ function JoinModalController($scope, $state, $interval, $timeout, $focus, UIUtil
// removeIf(device)
// Focus input text (only if NOT device, to avoid keyboard opening)
- if (behavior.focus) {
+ // FIXME: this cause issue #464
+ /*if (behavior.focus) {
$timeout(function(){
$focus(behavior.focus);
}, 100);
- }
+ }*/
// endRemoveIf(device)
return behavior;
--
GitLab