alchemy-solidus 7.0.0 → 7.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/views/alchemy/admin/pages/_product_link_script.html.erb +10 -4
- data/lib/alchemy/solidus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d86c94ee49a6cd83833924769726f3fc3031d9d52bf027f625193e834fe07b3f
|
4
|
+
data.tar.gz: 42a8cccc0ab2367ddb06503e3b74b9aaa8f18723417981fca1e8eb7dce97a173
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a4ea1882a360b2cdb1a5f98256ab18e0c4e7b8e5152b143875c935ce82c626fc43c8e651ccf753f1b3de33c95b0f8b57e0f74c61db894b306e4dd3e5850a015
|
7
|
+
data.tar.gz: 6ca23c0dd8267e5cb757bded3707adf8c749a36d3480ca03121f9a8a3e3bb514058d366d21879866487ca739a4f41a9446d6e56feb3939855b3ffa445489efef
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
<script>
|
2
|
-
$("#overlay_tabs")
|
2
|
+
var $tabs = $("#overlay_tabs")
|
3
|
+
|
4
|
+
$tabs.on("SelectLinkTab.Alchemy", function(event, data) {
|
3
5
|
$("#product_link").select2("val", data.link.attr("href"))
|
4
6
|
})
|
5
7
|
$("#product_link").alchemyProductSelect({
|
@@ -31,9 +33,13 @@
|
|
31
33
|
id: Spree.mountedAt() + "products/"+ product.slug,
|
32
34
|
text: product.name
|
33
35
|
})
|
34
|
-
$
|
35
|
-
$("
|
36
|
-
|
36
|
+
if (typeof $tabs.tabs === "function") {
|
37
|
+
$tabs.tabs("option", "active",
|
38
|
+
$("#overlay_tabs > div").index($("#overlay_tab_product_link"))
|
39
|
+
)
|
40
|
+
} else {
|
41
|
+
$tabs.get(0).show('overlay_tab_product_link')
|
42
|
+
}
|
37
43
|
}
|
38
44
|
})
|
39
45
|
},
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alchemy-solidus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas von Deyen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: alchemy_cms
|