romo 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5de7887965abb8975b658aac76dcc7bfa167637a
4
- data.tar.gz: 58bcbbae45029158a8436e4d67774c225e28f15c
3
+ metadata.gz: 3ef654b46bb779368cdcececf57e0b1a5c1216de
4
+ data.tar.gz: 2e89bacbd83f1f91ccd8003df65d5c0e695db743
5
5
  SHA512:
6
- metadata.gz: 39a277f08d9ed14b54fb7c74cdbae966e4f55519b2cb4ab01bec57ef17afe6614c913136447c2f0001fb0b3d64d41576b58d2ef7879c10241575d953be71921e
7
- data.tar.gz: a8201ba402798cb2d4b965a0bd9d43840f3cbfe14828ca19a7613bcee26af5497d17eb58bfd593df7c8f8dc6ef346af5c4b8563b7c03f69d83b0348293784813
6
+ metadata.gz: b10abe6fb0a90f309f3e21ad61c337c9fdb83bd7bf577108f076840131013b2889176057794a3550a2175776534f21c9aff934cb5c61a9c4cd4efd4fb94d5190
7
+ data.tar.gz: 3d6b7404d4480dd978ef004cb692fdf7b2c317f169833ff9ed262dd0b1a8077d9a4adb6d6ddd3c728b96e3adc5acd73f8e2c87da156855e92b6dab1ebc2e9296
@@ -65,11 +65,13 @@ RomoForm.prototype.doBindForm = function() {
65
65
  }
66
66
 
67
67
  RomoForm.prototype.onFormKeyPress = function(e) {
68
- var target = $(e.target);
68
+ if (this.elem.data('romo-form-disable-keypress') !== true) {
69
+ var target = $(e.target);
69
70
 
70
- if(target.is(':not(TEXTAREA)') && e.keyCode === 13 /* Enter */) {
71
- e.preventDefault();
72
- this.onSubmitClick();
71
+ if (target.is(':not(TEXTAREA)') && e.keyCode === 13 /* Enter */) {
72
+ e.preventDefault();
73
+ this.onSubmitClick();
74
+ }
73
75
  }
74
76
  }
75
77
 
data/lib/romo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Romo
2
- VERSION = "0.8.0"
2
+ VERSION = "0.9.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: romo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Redding
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-16 00:00:00.000000000 Z
12
+ date: 2015-07-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: assert