This commit is contained in:
parent
a17a6ed596
commit
7859bf9c32
|
@ -30,9 +30,6 @@ app.directive('myAlert2', ['config', function(config){
|
|||
link: function(scope){
|
||||
scope.dismiss = function(){
|
||||
scope.visible = false;
|
||||
if(typeof scope.cb === 'function'){
|
||||
scope.cb();
|
||||
}
|
||||
};
|
||||
scope.confirm = function(){
|
||||
scope.visible = false;
|
||||
|
|
Loading…
Reference in New Issue