Show device ID QR code from edit dialog (fixes #1494)

This commit is contained in:
Kevin Allen
2015-12-29 16:22:00 -05:00
committed by Jakob Borg
parent 1edfa4474f
commit ffc4a60bc6
5 changed files with 15 additions and 10 deletions

View File

@@ -966,7 +966,9 @@ angular.module('syncthing.core')
$('#editDevice').modal();
};
$scope.idDevice = function () {
$scope.idDevice = function (deviceCfg) {
$scope.currentDevice = deviceCfg;
$('#editDevice').modal('hide');
$('#idqr').modal('show');
};