Skip to content

Commit

Permalink
image input working plus version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren committed Jun 14, 2016
1 parent 0748535 commit 3afb695
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/PublicLab.Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -36106,7 +36106,7 @@ PL.Editor = Class.extend({
// this could be an error or a success; could redirect in either case?
window.location = response;

// is this right, or redunant with above?
// is this wrong, or redunant with above?
}).fail(function(response) {

$('.ple-publish').removeClass('btn-success')
Expand Down Expand Up @@ -36833,7 +36833,7 @@ module.exports = PublicLab.MainImageModule = PublicLab.Module.extend({
});


_module.dropEl.fileupload({
_module.el.find('input').fileupload({

url: "/images",
paramName: "image[photo]",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "publiclab-editor",
"version": "0.0.2",
"version": "0.0.3",
"description": "PublicLab.Editor is a general purpose, JavaScript/Bootstrap UI framework for rich text posting, which provides an author-friendly, minimal, mobile/desktop (fluid) interface for creating blog-like content, designed for PublicLab.org",
"main": "dist/webjack.js",
"main": "dist/PublicLab.Editor.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/modules/PublicLab.MainImageModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = PublicLab.MainImageModule = PublicLab.Module.extend({
});


_module.dropEl.fileupload({
_module.el.find('input').fileupload({

url: "/images",
paramName: "image[photo]",
Expand Down

0 comments on commit 3afb695

Please sign in to comment.