Merge pull request #299 from patbolo/ticket/8316

FIX 8316 Prevents browser default behaviour when changing the pagetypes ...
This commit is contained in:
Ingo Schommer 2013-03-13 02:02:39 -07:00
commit 37bb86a927

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