Skip to content

Commit

Permalink
https://github.com/craftercms/craftercms/issues/602
Browse files Browse the repository at this point in the history
  • Loading branch information
vestrada committed Mar 16, 2017
1 parent dbd3ebc commit e62b800
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions static-assets/components/cstudio-common/common-api.js
Expand Up @@ -191,7 +191,10 @@ var nodeOpen = false;
PERMISSION_READ: new CStudioConstant("read"),
PERMISSION_WRITE: new CStudioConstant("write"),
PERMISSION_DELETE: new CStudioConstant("delete"),
PERMISSION_CREATE_FOLDER: new CStudioConstant("create folder")
PERMISSION_CREATE_FOLDER: new CStudioConstant("create folder"),
CONFIG_FILES_PATH: '/config/studio',
IMAGE_VALID_EXTENSIONS: ["jpg", "jpeg", "gif", "png", "tiff", "tif", "bmp", "svg", "JPG", "JPEG", "GIF", "PNG", "TIFF", "TIF", "BMP", "SVG"],
MAX_INT_VALUE: 2147483647
},
/**
* required resources, exension of the authoring environment bootstrap
Expand Down Expand Up @@ -1612,7 +1615,7 @@ var nodeOpen = false;
folderPath = uri.substring(0, uri.lastIndexOf("index.xml"));
}
var cut = false, // args.cut was the original value, but this parameter is always returning undefined
serviceUri = CSA.Service.getPagesServiceUrl + "?site=" + site + "&path=" + folderPath + "&depth=-1&order=default",
serviceUri = CSA.Service.getPagesServiceUrl + "?site=" + site + "&path=" + folderPath + "&depth=" + CStudioAuthoring.Constants.MAX_INT_VALUE + "&order=default",
getCopyTreeItemRequest = CStudioAuthoring.Service.createServiceUri(serviceUri);

submitDialogCb = {
Expand Down

0 comments on commit e62b800

Please sign in to comment.