|
|
@ -27,7 +27,7 @@ define(['underscore', 'text!partials/buddylist.html'], function(_, template) { |
|
|
|
|
|
|
|
|
|
|
|
var controller = ['$scope', '$element', '$attrs', function($scope, $element, $attrs) { |
|
|
|
var controller = ['$scope', '$element', '$attrs', function($scope, $element, $attrs) { |
|
|
|
|
|
|
|
|
|
|
|
$scope.layout.buddylist = true; |
|
|
|
$scope.layout.buddylist = false; |
|
|
|
$scope.enabled = false; |
|
|
|
$scope.enabled = false; |
|
|
|
|
|
|
|
|
|
|
|
$scope.doCall = function(id) { |
|
|
|
$scope.doCall = function(id) { |
|
|
@ -55,6 +55,9 @@ define(['underscore', 'text!partials/buddylist.html'], function(_, template) { |
|
|
|
$scope.enabled = status; |
|
|
|
$scope.enabled = status; |
|
|
|
$scope.$emit("roomStatus", status); |
|
|
|
$scope.$emit("roomStatus", status); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (status) { |
|
|
|
|
|
|
|
$scope.layout.buddylist = true |
|
|
|
|
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
//XXX(longsleep): Debug leftover ?? Remove this.
|
|
|
|
//XXX(longsleep): Debug leftover ?? Remove this.
|
|
|
|