mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Fixed selector for changed ".ss-gridfield" DOM structure
This commit is contained in:
parent
81d362d5f8
commit
c32595d1c8
@ -26,7 +26,7 @@
|
||||
|
||||
$('#Form_EditForm_File .ss-gridfield-item').entwine({
|
||||
onclick: function(e) {
|
||||
var grid = this.closest('fieldset.ss-gridfield');
|
||||
var grid = this.closest('.ss-gridfield');
|
||||
if(this.data('class') == 'Folder') {
|
||||
var url = grid.data('urlFolderTemplate').replace('%s', this.data('id'));
|
||||
$('.cms-container').loadPanel(url);
|
||||
|
Loading…
Reference in New Issue
Block a user