Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

Commit cc043f2

Browse files
committed
fix for style sheets
1 parent e8d8a2c commit cc043f2

4 files changed

Lines changed: 1 addition & 1 deletion

File tree

dashboard.tar.gz

0 Bytes
Binary file not shown.

digexp-wcm-design/lib/wcmOperations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ function getWcmItemData(type, id) {
823823
wcmGetJson(getUrlForType(type) + '/' + getRawId(id)).then(function(item) {
824824
var editmedia = wcmItem.getOperationHref(item, cEditmedia);
825825
var elements = wcmItem.getOperationHref(item, cElements);
826-
if ((item.content && type != wcmTypes.imageComponent && type != wcmTypes.fileComponent) || (editmedia == undefined && elements == undefined))
826+
if ((item.content && type != wcmTypes.imageComponent && type != wcmTypes.fileComponent && type != wcmTypes.styleSheetComponent) || (editmedia == undefined && elements == undefined))
827827
return deferred.resolve(item);
828828
// no media check for elements
829829
if (editmedia == undefined) {

release/digexp-toolkit.zip

-34 Bytes
Binary file not shown.

wcm-design.tar.gz

4 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)