You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mo...@apache.org on 2015/06/10 06:10:26 UTC
incubator-zeppelin git commit: Enable to type dot(.) in title
Repository: incubator-zeppelin
Updated Branches:
refs/heads/master f0301cdfa -> 68956f6ff
Enable to type dot(.) in title
Changed 'keypress' event to 'keyup' event since keypress event is for printable characters.
Author: Mina Lee <mi...@nflabs.com>
Closes #95 from minahlee/fix/enable_dot_in_title and squashes the following commits:
9100fa6 [Mina Lee] Enable to type dot(.) in title
Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/68956f6f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/68956f6f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/68956f6f
Branch: refs/heads/master
Commit: 68956f6ffc00019038c52afba08b2688ef56b693
Parents: f0301cd
Author: Mina Lee <mi...@nflabs.com>
Authored: Tue Jun 9 16:33:29 2015 +0900
Committer: Lee moon soo <mo...@apache.org>
Committed: Tue Jun 9 21:10:18 2015 -0700
----------------------------------------------------------------------
zeppelin-web/app/scripts/directives/ngdelete.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/68956f6f/zeppelin-web/app/scripts/directives/ngdelete.js
----------------------------------------------------------------------
diff --git a/zeppelin-web/app/scripts/directives/ngdelete.js b/zeppelin-web/app/scripts/directives/ngdelete.js
index 9338952..7d9181c 100644
--- a/zeppelin-web/app/scripts/directives/ngdelete.js
+++ b/zeppelin-web/app/scripts/directives/ngdelete.js
@@ -22,7 +22,7 @@
*/
angular.module('zeppelinWebApp').directive('ngDelete', function() {
return function(scope, element, attrs) {
- element.bind('keydown keypress', function(event) {
+ element.bind('keydown keyup', function(event) {
if (event.which === 27 || event.which === 46) {
scope.$apply(function() {
scope.$eval(attrs.ngEnter);