mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #299 from patbolo/ticket/8316
FIX 8316 Prevents browser default behaviour when changing the pagetypes ...
This commit is contained in:
commit
37bb86a927
@ -70,7 +70,8 @@
|
||||
});
|
||||
|
||||
$(".cms-add-form #PageType li").entwine({
|
||||
onclick: function() {
|
||||
onclick: function(e) {
|
||||
e.preventDefault();
|
||||
this.setSelected(true);
|
||||
},
|
||||
setSelected: function(bool) {
|
||||
|
Loading…
Reference in New Issue
Block a user