You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/09/13 15:48:18 UTC

[whimsy] branch master updated (8ee1664 -> 6f1f604)

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a change to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git.

      from  8ee1664   wire up task completion
       new  ffc5dfc   make up go up
       new  6f1f604   prevent enter from submitting the form

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 www/secmail/public/tasklist.js | 4 +++-
 www/secmail/views/parts.js.rb  | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].

[whimsy] 02/02: prevent enter from submitting the form

Posted by ru...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

commit 6f1f6046c666d705c5bd9c288b64477c39953e0a
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Sep 13 11:47:51 2016 -0400

    prevent enter from submitting the form
---
 www/secmail/views/parts.js.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/secmail/views/parts.js.rb b/www/secmail/views/parts.js.rb
index afd9d11..7f1ed4d 100644
--- a/www/secmail/views/parts.js.rb
+++ b/www/secmail/views/parts.js.rb
@@ -396,6 +396,8 @@ class Parts < React
       end
     elsif event.keyCode == 38 # up
       window.parent.location.href = '../..'
+    elsif event.keyCode == 13 # enter/return
+      event.stopPropagation()
     end
   end
 

-- 
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <co...@whimsical.apache.org>.

[whimsy] 01/02: make up go up

Posted by ru...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

commit ffc5dfceba0e32ca0479bff63ee610c0940be9d7
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Sep 13 11:47:38 2016 -0400

    make up go up
---
 www/secmail/public/tasklist.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/secmail/public/tasklist.js b/www/secmail/public/tasklist.js
index c5ec8d4..4072f0d 100644
--- a/www/secmail/public/tasklist.js
+++ b/www/secmail/public/tasklist.js
@@ -99,13 +99,15 @@ $('button').click(function(event) {
   }
 });
 
-// have delete key return to index
+// have delete and up keys return to index
 $(document).on('keypress', function(event) {
   if (event.keyCode == 8 || event.keyCode == 46) { // backspace or delete
     var tag = event.target.tagName.toLowerCase();
     if (tag != 'input' && tag != 'textarea')  {
       window.parent.location.href = '..';
     }
+  } else if (event.keyCode == 38) { // up
+    window.parent.location.href = '..';
   }
 });
 

-- 
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <co...@whimsical.apache.org>.