remove debug code
This commit is contained in:
parent
95136829bc
commit
4509e39467
2 changed files with 1 additions and 1 deletions
1
angular_app/js/controllers.js
vendored
1
angular_app/js/controllers.js
vendored
|
@ -120,7 +120,6 @@ eventManControllers.controller('EventDetailsCtrl', ['$scope', 'Event', 'Person',
|
|||
$scope.newPerson = {};
|
||||
});
|
||||
$scope.query = '';
|
||||
console.log(angular.element($scope.query));
|
||||
};
|
||||
|
||||
$scope.fastAddPerson = function(person, isNew) {
|
||||
|
|
1
angular_app/js/directives.js
vendored
1
angular_app/js/directives.js
vendored
|
@ -29,6 +29,7 @@ eventManApp.directive('eventmanFocus', function () {
|
|||
eventManApp.directive('resetFocus', function () {
|
||||
function link(scope, element, attrs) {
|
||||
element.on('click', function() {
|
||||
// FIXME: that's so wrong! We need to make the new directive communicate.
|
||||
var el = angular.element(document.querySelector('#query-persons'));
|
||||
el.length && el[0].focus();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue