fix disable video options

This commit is contained in:
Matias Alejo Garcia 2014-06-27 17:09:12 -03:00
commit fd6a2c19b2
3 changed files with 3 additions and 4 deletions

View file

@ -118,6 +118,6 @@ var defaultConfig = {
// theme list // theme list
themes: ['default'], themes: ['default'],
disableVideo: 1, disableVideo: true,
verbose: 1, verbose: 1,
}; };

View file

@ -851,7 +851,7 @@
<fieldset> <fieldset>
<legend>Videoconferencing</legend> <legend>Videoconferencing</legend>
<input id="disableVideo-opt" type="checkbox" ng-model="disableVideo" class="form-control"> <input id="disableVideo-opt" type="checkbox" ng-model="disableVideo" class="form-control">
<label for="disableVideo-opt">Enable videoconferencing (only for fast Networks)</label> <label for="disableVideo-opt">Disable videoconferencing (for slow networks)</label>
</fieldset> </fieldset>
<fieldset> <fieldset>
<legend>Insight API server</legend> <legend>Insight API server</legend>

View file

@ -44,8 +44,7 @@ angular.module('copayApp.services')
root.installStartupHandlers = function(wallet, $scope) { root.installStartupHandlers = function(wallet, $scope) {
wallet.on('serverError', function(msg) { wallet.on('serverError', function(msg) {
notification.error('PeerJS Error', 'There was an error connecting to the PeerJS server.' notification.error('PeerJS Error', 'There was an error connecting to the PeerJS server.' + (msg || 'Check you settings and Internet connection.'));
+ (msg || 'Check you settings and Internet connection.'));
root.onErrorDigest($scope); root.onErrorDigest($scope);
$location.path('addresses'); $location.path('addresses');
}); });