tb_banners 1.3.1 → 1.3.2
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/admin/banners/banner_sets.js +1 -1
- data/app/assets/javascripts/admin/banners/banners.js +4 -4
- data/app/views/admin/banner_sets/index.html.erb +1 -1
- data/app/views/admin/banner_sets/show.html.erb +1 -1
- data/lib/spud_banners/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: c6523446637e03b2e8bbf0817e9a3f932a914ec2eb4e9b15564a5e41d5e1f4b8
|
4
|
+
data.tar.gz: 96800f6ab2b718017ec48b39d4f403a59682b7cca43c45e7b271972d35582335
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a832b4f51efcbb3904b77b2b29be04a89d4e07ad4c242e46de3427d81abd268f538d5a588ff3bba4a1402072a06d71936074177f7da3b7cca171329f4c1e1a2
|
7
|
+
data.tar.gz: ae6b66441337ca85a0e91b998f77871b72ce6c47c2ff16d1f5215ae487c55559316dbf29e17e0b723951c2e28dd44258ae476f951a7725f6f6f12e716a9852f1
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
var bannerSetEditId = false;
|
7
7
|
|
8
|
-
|
8
|
+
tb.banner_sets = {
|
9
9
|
init: function(){
|
10
10
|
$('.spud_banner_sets_add_new').on('click', clickedAddNewBannerSet);
|
11
11
|
$('.admin-banner-sets-list').on('click', '.admin-banner-set-edit', clickedEditBannerSet);
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
var bannerEditId = false;
|
7
7
|
|
8
|
-
|
8
|
+
tb.banners = {
|
9
9
|
|
10
10
|
// Index Page
|
11
11
|
/////////////
|
@@ -91,9 +91,9 @@ var submittedBannerForm = function(e){
|
|
91
91
|
fd.append(name, value);
|
92
92
|
});
|
93
93
|
|
94
|
-
var
|
95
|
-
if(
|
96
|
-
fd.append('spud_banner[rich_text]',
|
94
|
+
var editor = tinymce.get('admin-banner-rich-text');
|
95
|
+
if(editor){
|
96
|
+
fd.append('spud_banner[rich_text]', editor.getContent());
|
97
97
|
}
|
98
98
|
else{
|
99
99
|
fd.append('spud_banner[rich_text]', '');
|
data/lib/spud_banners/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tb_banners
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Moser Consulting
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: paperclip
|