Fix: hopefully the reloading bug on onReturn now fixed

This commit is contained in:
Amritanshu 2014-05-24 19:42:44 +05:30
parent 018391f733
commit c419b3ae2e
1 changed files with 1 additions and 0 deletions

View File

@ -147,6 +147,7 @@ overlord_directive.directive('onReturn', ['$parse', function ($parse) {
scope.$apply(function () {
fn(scope, {$event: event});
});
event.preventDefault();
}
});
};