BUG Fix incorrect "Add Page" button selector

Fixes https://github.com/silverstripe/silverstripe-framework/issues/4540
This commit is contained in:
Damian Mooyman 2016-01-22 11:05:06 +13:00
parent dbb8b5852f
commit e364fdb794

View File

@ -161,7 +161,7 @@
} }
}); });
$(".cms-page-add-button").entwine({ $(".cms-content-addpage-button").entwine({
onclick: function(e) { onclick: function(e) {
var tree = $('.cms-tree'), list = $('.cms-list'), parentId = 0; var tree = $('.cms-tree'), list = $('.cms-list'), parentId = 0;