Add Edit > Show ID with QR (fixes #243)

This commit is contained in:
Jakob Borg
2014-05-21 20:06:14 +02:00
parent 4235175966
commit 6fb05fc82a
10 changed files with 1782 additions and 17 deletions

View File

@@ -285,6 +285,10 @@ syncthing.controller('SyncthingCtrl', function ($scope, $http) {
$('#editNode').modal({backdrop: 'static', keyboard: true});
};
$scope.idNode = function () {
$('#idqr').modal('show');
};
$scope.addNode = function () {
$scope.currentNode = {AddressesStr: 'dynamic'};
$scope.editingExisting = false;