Fix: hopefully the reloading bug on onReturn now fixed
This commit is contained in:
1
brewman/static/scripts/angular_directive.js
vendored
1
brewman/static/scripts/angular_directive.js
vendored
@ -147,6 +147,7 @@ overlord_directive.directive('onReturn', ['$parse', function ($parse) {
|
|||||||
scope.$apply(function () {
|
scope.$apply(function () {
|
||||||
fn(scope, {$event: event});
|
fn(scope, {$event: event});
|
||||||
});
|
});
|
||||||
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user