scrivito_pdf_widget 1.0.7 → 1.0.9
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: fe82dff1b410331ee568d09161f1810990fca948
|
4
|
+
data.tar.gz: 3dcf7b30223afcd9a2666c1b6d07ceb6d8e8b0fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3f3fd3b02bc4259b504c452b32d4cd367af2e2d3870e0817f72df4e38cabbbb577eaa1d398f962ad504ebb6bb378288b32ca0245863a6e6748508a068fd9a41
|
7
|
+
data.tar.gz: 170560212902fb1a73bf4aeb10ca8527e22cf99e3ddf56f8bf49358b466bc0462816d9ffbce8ba107b71d83ee502d6f7de2c6946b809560d5e3c98b3e28f6cd9
|
@@ -2,9 +2,11 @@
|
|
2
2
|
'use strict';
|
3
3
|
|
4
4
|
$(function() {
|
5
|
-
scrivito.
|
6
|
-
|
7
|
-
|
5
|
+
if(scrivito.in_editable_view()) {
|
6
|
+
scrivito.register_default_obj_class_for_content_type({
|
7
|
+
'application/pdf': 'Pdf'
|
8
|
+
});
|
9
|
+
}
|
8
10
|
|
9
11
|
scrivito.content_browser.filters.pdfs = {
|
10
12
|
'title': 'PDF',
|
@@ -1,2 +1,2 @@
|
|
1
1
|
<h4>Select PDF</h4>
|
2
|
-
<%= scrivito_tag(:div, widget, :pdf
|
2
|
+
<%= scrivito_tag(:div, widget, :pdf) %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_pdf_widget
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scrivito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|