Removed old unused notifications. Fixes template url for new notifications

This commit is contained in:
Gustavo Maximiliano Cortez 2014-07-28 15:41:12 -03:00
parent 898e5a12ef
commit 8974847f48
2 changed files with 1 additions and 13 deletions

View File

@ -23,18 +23,6 @@ angular.module('copayApp.directives')
};
}
])
.directive('notification', ['$rootScope',
function($rootScope) {
return {
restrict: 'A',
link: function(scope, element, attrs, ctrl) {
setTimeout(function() {
scope.$apply(function() {});
}, 5000);
}
};
}
])
.directive('enoughAmount', ['$rootScope',
function($rootScope) {
var bitcore = require('bitcore');

View File

@ -254,7 +254,7 @@ directive('notifications', function(notification, $compile) {
return {
restrict: 'A',
scope: {},
template: '<div ng-include="\'views/includes/notifications.html\'"></div>',
templateUrl: 'views/includes/notifications.html',
link: link,
controller: ['$scope',
function NotificationsCtrl($scope) {