thin_man 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/ajax_bindings.js +5 -1
- data/lib/thin_man/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 476da8551ed8ff3938c4ee555c1a5f61696140d1
|
4
|
+
data.tar.gz: f1bdad205589a43e239d5dfed7db932532c1d2b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07baa178ecd3ba6368e23faa1fe2108117f99dd7c4c25c287aa879550fa4eb1f2e3cadea899f6e4c757c188b099acd144acc9f429947f5754434dcd63cd0acf2
|
7
|
+
data.tar.gz: 847bf31b2724335c6d391c23ae2a9f5d7bdde70269473fb0411dba2c283da525b491e172bb7887d4875521f39ecab4851ee83f0ee7bff0052735582489bb3424
|
@@ -73,7 +73,11 @@ 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').
|
76
|
+
this.target.find('input,select,textarea').filter(':visible:enabled:first').each(function(){
|
77
|
+
if(!$(this).data('date-picker')){
|
78
|
+
$(this).focus();
|
79
|
+
}
|
80
|
+
});
|
77
81
|
}
|
78
82
|
},
|
79
83
|
ajaxSuccess: function(data,textStatus,jqXHR){
|
data/lib/thin_man/version.rb
CHANGED
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.
|
4
|
+
version: 0.5.3
|
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-
|
11
|
+
date: 2015-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|