caboose-cms 0.9.35 → 0.9.37
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20f9778a027061df45b57025ad93313704933251
|
4
|
+
data.tar.gz: dbe35c9330f94b6d5373d0d72384c2885cdb5869
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19e78583d800e03e571dcfe3559c3e904a44237f1e7b0f4594bfacc132a336f6eeb04a753f5b7612d84ae7edb881cb24aab47183cc9b737fd3d11c4ba6fe7c59
|
7
|
+
data.tar.gz: 284f7022fdb576334781506ee958b912854ae48dc44d4957fca01e3c0dac90a10fb5623d529aca7c7707d3f250b857c507456f9f296c384f67d55022421128e3
|
@@ -8,6 +8,7 @@ MediaBrowser.prototype = {
|
|
8
8
|
cat: false,
|
9
9
|
cat_id: false,
|
10
10
|
categories: false,
|
11
|
+
media: false,
|
11
12
|
s3_upload_url: false,
|
12
13
|
aws_access_key_id: false,
|
13
14
|
policy: false,
|
@@ -131,7 +132,7 @@ MediaBrowser.prototype = {
|
|
131
132
|
async: false,
|
132
133
|
data: { media_category_id: that.cat_id },
|
133
134
|
success: function(resp) {
|
134
|
-
that.
|
135
|
+
that.media = resp;
|
135
136
|
that.cat_id = that.cat.id;
|
136
137
|
that.selected_media = [];
|
137
138
|
that.print_media();
|
@@ -184,10 +185,10 @@ MediaBrowser.prototype = {
|
|
184
185
|
var processing = false;
|
185
186
|
var d = new Date();
|
186
187
|
d = d.getTime();
|
187
|
-
|
188
|
-
if (that.
|
188
|
+
|
189
|
+
if (that.media.length > 0)
|
189
190
|
{
|
190
|
-
$.each(that.
|
191
|
+
$.each(that.media, function(i, m) {
|
191
192
|
if (m.media_type == 'image' && m.processed == false)
|
192
193
|
processing = true
|
193
194
|
var li = $('<li/>')
|
@@ -213,7 +214,7 @@ MediaBrowser.prototype = {
|
|
213
214
|
if (modal)
|
214
215
|
modal.autosize();
|
215
216
|
|
216
|
-
$.each(that.
|
217
|
+
$.each(that.media, function(i, m) {
|
217
218
|
$('li.media').draggable({
|
218
219
|
multiple: true,
|
219
220
|
revert: 'invalid',
|
data/lib/caboose/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.37
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|