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 f01decd commit 0bd2833
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions static-assets/components/cstudio-common/common-api.js
Expand Up @@ -193,7 +193,8 @@ var nodeOpen = false;
PERMISSION_DELETE: new CStudioConstant("delete"),
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"]
IMAGE_VALID_EXTENSIONS: ["jpg", "jpeg", "gif", "png", "tiff", "tif", "bmp", "svg", "JPG", "JPEG", "GIF", "PNG", "TIFF", "TIF", "BMP", "SVG"],
MAX_INT_VALUE: 2147483647
// CONFIG_FILES_PATH: "/cstudio/config/sites/"
},
/**
Expand Down Expand Up @@ -1625,7 +1626,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 0bd2833

Please sign in to comment.