@concretecms/bedrock 1.2.6 → 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -150,7 +150,7 @@ export default {
150
150
  new ConcreteAjaxRequest({
151
151
  url: my.saveStylesAction,
152
152
  data: {
153
- styles: my.customizerStyles,
153
+ styles: JSON.stringify(my.customizerStyles),
154
154
  customCss: my.customizerCustomCss,
155
155
  applyTo: my.applyTo,
156
156
  ccm_token: CCM_SECURITY_TOKEN
@@ -75,6 +75,12 @@ ConcreteTree.prototype = {
75
75
  ajaxData.allowFolderSelection = 1
76
76
  }
77
77
 
78
+ if (typeof CCM_CID !== 'undefined') {
79
+ ajaxData.cID = CCM_CID
80
+ } else {
81
+ ajaxData.cID = 0
82
+ }
83
+
78
84
  var persist = true
79
85
 
80
86
  if (options.chooseNodeInForm) {
@@ -173,7 +179,7 @@ ConcreteTree.prototype = {
173
179
  }
174
180
  if (selectedNodes) {
175
181
  $.map(selectedNodes, function (node) {
176
- node.makeVisible()
182
+ node.makeVisible({ scrollIntoView: false })
177
183
  })
178
184
  }
179
185
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@concretecms/bedrock",
3
- "version": "1.2.6",
3
+ "version": "1.2.9",
4
4
  "description": "The asset framework and dependencies for Concrete CMS.",
5
5
  "scripts": {
6
6
  "lint": "standardx \"**/*.{js,vue}\" && stylelint assets/**/*.{scss,vue}",