ep_sketchspace
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "ep_sketchspace", | ||
"description": "Drawing and image annotation", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"author": "RedHog (Egil Moeller) <egil.moller@freecode.no>", | ||
@@ -6,0 +6,0 @@ "contributors": [], |
@@ -318,3 +318,3 @@ dojo.provide("sketchSpaceDesigner.designer.editor"); | ||
dojo.xhrGet({ | ||
url: "/ep/imageConvert/" + this.imageName + "?action=getSize&p=" + image.page, | ||
url: "/imageConvert/" + this.imageName + "?action=getSize&p=" + image.page, | ||
handleAs: "json", | ||
@@ -368,3 +368,3 @@ load: function(data){ | ||
height:displayBboxOnObj.height, | ||
src: "/ep/imageConvert/" + this.imageName + | ||
src: "/imageConvert/" + this.imageName + | ||
"?p=" + image.page + | ||
@@ -371,0 +371,0 @@ "&x=" + displayBboxOnObj.x + |
@@ -75,3 +75,3 @@ dojo.provide("sketchSpaceDesigner.designer.ui"); | ||
var info = { | ||
action: '/ep/fileUpload/', | ||
action: '/fileUpload/', | ||
name: 'uploadfile', | ||
@@ -82,3 +82,3 @@ onSubmit: function(file, ext){ | ||
onComplete: function(file, response){ | ||
var path = eval(response)[0].split("/"); | ||
var path = response.replace(/^\s+|\s+$/g, '').split("/"); | ||
sketchSpace.editorUi.addImg(path[path.length-1]); | ||
@@ -85,0 +85,0 @@ } |
@@ -21,3 +21,3 @@ dojo.provide("sketchSpaceDesigner.main"); | ||
var info = { | ||
action: '/ep/fileUpload/', | ||
action: '/fileUpload/', | ||
name: 'uploadfile', | ||
@@ -32,3 +32,3 @@ onSubmit: function(file, ext){ | ||
dojo.xhrGet({ | ||
url: "/ep/imageConvert/" + filename + "?action=getPages", | ||
url: "/imageConvert/" + filename + "?action=getPages", | ||
handleAs: "json", | ||
@@ -35,0 +35,0 @@ load: function(data){ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130923