Improve folders rename

This commit is contained in:
Francis Lachapelle committed 2015-09-16 16:15:04 -04:00
1 parent 7b580f8af6
commit 70bb512bb8
6 files changed
+23 -18

No files matched your search

@@ -17,9 +17,7 @@
return function(scope, element, attrs) {
element.bind("keydown keypress", function(event) {
if (event.which === ENTER_KEY) {
scope.$apply(function() {
scope.$eval(attrs.sgEnter);
});
scope.$apply(attrs.sgEnter);
event.preventDefault();
}
});