Skip to content

Commit 153b42b

Browse files
theboxeropengeek
andauthored
Fix selecting parent in quick create resource (#16002)
* Pass 0 instead of undefined to the parent select in quick resource create window * grunt build Co-authored-by: Jason Coward <[email protected]>
1 parent 85de6b6 commit 153b42b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manager/assets/modext/modx.jsgrps-min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manager/assets/modext/widgets/resource/modx.tree.resource.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ MODx.getQRSettings = function(id,va) {
11461146
,anchor: '100%'
11471147
,parentcmp: 'modx-'+id+'-parent'
11481148
,contextcmp: 'modx-'+id+'-context_key'
1149-
,currentid: va['id']
1149+
,currentid: va['id'] || 0
11501150
},{
11511151
xtype: 'modx-combo-class-derivatives'
11521152
,fieldLabel: _('resource_type')

0 commit comments

Comments
 (0)