snaptable 0.9.2 → 0.9.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/snaptable/table.js +8 -6
- data/lib/snaptable/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: 4a19a2c1a6d4b3ff9d7feb2f2b00b16340d270de
|
4
|
+
data.tar.gz: e62032e3e29745cff520cb909069813e31825c1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: deb203f35cd3da48b6690faf700a076f77f7c79be8a37d2df3b19d59f4a5468cfb713a313b37531ea2149acf289d25e4c8c17761529e15aafa114076afe14dc7
|
7
|
+
data.tar.gz: 6435a0d6a8771bf1ca201ccf6ce93ba1ff95214a31dcc3387452850ea69b0541ffbad2efe5c01e5c8b291a4075b146ec0719fbb2ef8ed8fae623cfc15119fbc0
|
@@ -33,12 +33,14 @@ function snapifyTable() {
|
|
33
33
|
});
|
34
34
|
|
35
35
|
// Double click
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
36
|
+
if(editButton.length) {
|
37
|
+
snaptable.on("dblclick", "tbody tr", function() {
|
38
|
+
var id = $(this).data("url");
|
39
|
+
if ( typeof id !== "undefined" ) {
|
40
|
+
window.location = path + id + "/edit";
|
41
|
+
}
|
42
|
+
});
|
43
|
+
}
|
42
44
|
|
43
45
|
}
|
44
46
|
|
data/lib/snaptable/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snaptable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- khcr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|