silverstripe-cms/javascript/CMSMain.GridField.js
2012-02-28 16:56:21 +01:00

13 lines
281 B
JavaScript

jQuery(function($){
$('.ss-gridfield').entwine({
onopennewview: function(e, url) {
$('.cms-container').entwine('ss').loadPanel(url);
return false;
},
onopeneditview: function(e, url) {
$('.cms-container').entwine('ss').loadPanel(url);
return false;
}
});
});