Skip to content

Commit

Permalink
added locale
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Sep 20, 2012
1 parent 81ad2ae commit 1b3bf10
Show file tree
Hide file tree
Showing 4 changed files with 1,265 additions and 5 deletions.
6 changes: 2 additions & 4 deletions ckan/public/base/datapreview/pdfpreview.js
Expand Up @@ -21,11 +21,9 @@ CKAN.PdfPreview = function ($, pdf, my) {
//
// Returns nothing.
my.loadPreview = function(resourceData) {
/*var params = {
var params = {
file: resourceData['url']
}*/

var params = PDFView.parseQueryString(document.location.search.substring(1));
}

pdf(params);
}
Expand Down
2 changes: 2 additions & 0 deletions ckan/public/base/datapreview/resource.config
Expand Up @@ -52,6 +52,8 @@ pdfpreview =
pdf_src_inline
pdfpreview.js

vendor/pdfviewer/locale.properties

vendor/pdfviewer/viewer.css

css/pdfpreview.css

0 comments on commit 1b3bf10

Please sign in to comment.