mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +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({
|
$(".cms-add-form #PageType li").entwine({
|
||||||
onclick: function() {
|
onclick: function(e) {
|
||||||
|
e.preventDefault();
|
||||||
this.setSelected(true);
|
this.setSelected(true);
|
||||||
},
|
},
|
||||||
setSelected: function(bool) {
|
setSelected: function(bool) {
|
||||||
|
Loading…
Reference in New Issue
Block a user