FIX 8316 Prevents browser default behaviour when changing the pagetypes if creating a new page

This commit is contained in:
jean 2013-03-13 11:05:47 +13:00
parent a5e84c0a06
commit 2ba26ba701

View File

@ -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) {