add advanced options to join

This commit is contained in:
Matias Alejo Garcia 2014-08-21 11:56:02 -04:00
commit 60d81e6b9f
2 changed files with 19 additions and 11 deletions

View file

@ -1,7 +1,7 @@
'use strict';
angular.module('copayApp.controllers').controller('JoinController',
function($scope, $rootScope, $timeout, $location, walletFactory, controllerUtils, Passphrase, notification) {
function($scope, $rootScope, $timeout, walletFactory, controllerUtils, Passphrase, notification) {
controllerUtils.redirIfLogged();
$rootScope.fromSetup = false;
$scope.loading = false;
@ -15,10 +15,7 @@ angular.module('copayApp.controllers').controller('JoinController',
var context;
var localMediaStream;
var s = ($location.search()).advanced;
if (s) {
$scope.enterPrivate = true;
}
$scope.hideAdv=true;