ish_manager 0.1.8.357 → 0.1.8.358
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/ish_manager/email_contexts.js +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 193a0f1a8f02445f2d98166fe6bfe614268fbc2f9e45204961c45898bd0005d3
|
4
|
+
data.tar.gz: 8d9d4d82f78782390b28463c11c825ab8e1e56fa054a3351869bd6699e264869
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4ab1c3fa4bb6e624b7c3c2b90759eb2d4c1823c053a0cd0c0fbfca8ef96fb67c819ef1f15cdae669a50676973f79b42d129c3688a9c88114c5632cb1225ae28
|
7
|
+
data.tar.gz: 409f2c967e02c2f92110feb667f997dad6b5bbf6b5736d085ea0c86cd6e3f46a37de98d2d34124b131331ecace55116a0436fea3ce6b2dd31964d9ef83d1ca7e
|
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
|
-
AppRouter = {
|
3
|
-
|
2
|
+
const AppRouter = {
|
3
|
+
new_email_context_with_template_path: (slug) => `/manager/email_contexts/new_with_template/${slug}`
|
4
4
|
}
|
5
5
|
|
6
6
|
$(document).ready(() => {
|
@@ -8,7 +8,7 @@ $(document).ready(() => {
|
|
8
8
|
if ($(".email-contexts--form").length) {
|
9
9
|
$("#ish_email_context_email_template_id").on('change', (ev) => {
|
10
10
|
const val = ev.target.value
|
11
|
-
window.location.href = AppRouter.
|
11
|
+
window.location.href = AppRouter.new_email_context_with_template_path(val)
|
12
12
|
})
|
13
13
|
|
14
14
|
$("#ish_email_context_type").on('change', (ev) => {
|