MINOR Merge errors

This commit is contained in:
Ingo Schommer 2012-02-28 16:56:21 +01:00
parent 80fe9c8864
commit a317b66a8a
2 changed files with 5 additions and 2 deletions

View File

@ -31,7 +31,10 @@
$('#Form_EditForm_File .ss-gridfield-item').entwine({ $('#Form_EditForm_File .ss-gridfield-item').entwine({
onclick: function(e) { onclick: function(e) {
// Let actions do their own thing // Let actions do their own thing
if($(e.target).is('.action')) return; if($(e.target).is('.action')) {
this._super();
return;
}
var grid = this.closest('.ss-gridfield'); var grid = this.closest('.ss-gridfield');
if(this.data('class') == 'Folder') { if(this.data('class') == 'Folder') {

View File

@ -1,5 +1,5 @@
jQuery(function($){ jQuery(function($){
$('fieldset.ss-gridfield').entwine({ $('.ss-gridfield').entwine({
onopennewview: function(e, url) { onopennewview: function(e, url) {
$('.cms-container').entwine('ss').loadPanel(url); $('.cms-container').entwine('ss').loadPanel(url);
return false; return false;