|
|
|
@ -396,7 +396,7 @@ angular.module('myApp.controllers', [])
@@ -396,7 +396,7 @@ angular.module('myApp.controllers', [])
|
|
|
|
|
jump = 0; |
|
|
|
|
|
|
|
|
|
function applyDialogSelect (newPeer) { |
|
|
|
|
selectedCancel(); |
|
|
|
|
selectedCancel(true); |
|
|
|
|
newPeer = newPeer || $scope.curDialog.peer || ''; |
|
|
|
|
|
|
|
|
|
peerID = AppPeersManager.getPeerID(newPeer); |
|
|
|
@ -542,12 +542,14 @@ angular.module('myApp.controllers', [])
@@ -542,12 +542,14 @@ angular.module('myApp.controllers', [])
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function selectedCancel () { |
|
|
|
|
function selectedCancel (noBroadcast) { |
|
|
|
|
$scope.selectedMsgs = {}; |
|
|
|
|
$scope.selectedCount = 0; |
|
|
|
|
$scope.selectActions = false; |
|
|
|
|
if (!noBroadcast) { |
|
|
|
|
$scope.$broadcast('ui_panel_update'); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function selectedFlush () { |
|
|
|
|
if (safeConfirm('Are you sure? This can not be undone!') !== true) { |
|
|
|
|