mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
FIX 8316 Prevents browser default behaviour when changing the pagetypes if creating a new page
This commit is contained in:
parent
a5e84c0a06
commit
2ba26ba701
@ -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