thin_man 0.5.1 → 0.5.2

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: 21880e46cee518e36db9a42e3c6046921b6fa447
4
- data.tar.gz: da2ca97fd8682becbf27a89e3a901553ef57039d
3
+ metadata.gz: 38f182f3a00e87cfebc8513aa86d17cbe5a316c5
4
+ data.tar.gz: a81905ebd66ad23747a333b883460a9cb24505d8
5
5
  SHA512:
6
- metadata.gz: 2409a26ed5b90189bbb9c443f7bec8ce15a5ce0f7fed0401dc4b7237999f319981168c3b6188af9ccbb88e4120deb3d5a951d37bd94c34febc4b2d84d4763ab1
7
- data.tar.gz: 586b18983d446b3642bbb92a13cd34282647ed35ad513bc388b433c0c4866c8e765b1f850d67c0ef74a83c7a32492d99b3f97967437a240ac12ca397b6b1326b
6
+ metadata.gz: 28bc4db71c82f3a23b61b8ccf6a7cf878bb842a064f5bc219039cf9b0b991f1834e820e3b36260c00a2af0402ae5dab20198617eccb6007d93a898fff4f7fb01
7
+ data.tar.gz: b9a7858aa8479fac3509cac46392a6567055c6c1c78b4d2eb3ab68db1384c9a36dc9020768b2e01e4d49bb2494d9f72c94fbabfd80ba00043b60f2887947e380
@@ -73,6 +73,7 @@ var AjaxSubmission = Class.extend({
73
73
  insertHtml: function(data) {
74
74
  if(this.target){
75
75
  this.target[this.insert_method](data);
76
+ this.target.find('input:visible:first').focus();
76
77
  }
77
78
  },
78
79
  ajaxSuccess: function(data,textStatus,jqXHR){
@@ -1,3 +1,3 @@
1
1
  module ThinMan
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thin_man
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut, Adam Bialek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-13 00:00:00.000000000 Z
11
+ date: 2015-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails