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

This commit is contained in:
Kevin Allen authored and Jakob Borg committed 2016-01-01 11:24:09 +01:00
1 parent 1edfa4474f
commit ffc4a60bc6
5 files changed
+15 -10

No files matched your search

+3 -1
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');
};