mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-18 16:17:30 +00:00
Moving to release candidate 1
This commit is contained in:
@@ -1306,6 +1306,17 @@ app.controller ('SystemController', function ($scope, $location, bridgeService,
|
||||
};
|
||||
});
|
||||
|
||||
app.directive('autofocus', ['$timeout', function($timeout) {
|
||||
return {
|
||||
restrict: 'A',
|
||||
link : function($scope, $element) {
|
||||
$timeout(function() {
|
||||
$element[0].focus();
|
||||
});
|
||||
}
|
||||
}
|
||||
}]);
|
||||
|
||||
app.directive('nuCheck', [function () {
|
||||
return {
|
||||
require: 'ngModel',
|
||||
|
||||
Reference in New Issue
Block a user