MINOR Fixed selector for changed ".ss-gridfield" DOM structure

This commit is contained in:
Ingo Schommer 2012-02-23 16:08:27 +01:00
parent 81d362d5f8
commit c32595d1c8

View File

@ -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);