Permalink
Browse files

FIX 8316 Prevents browser default behaviour when changing the pagetyp…

…es if creating a new page
  • Loading branch information...
1 parent a5e84c0 commit 2ba26ba701253a2cea1e8d2aa43927784b410b05 @patbolo patbolo committed Mar 12, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 javascript/CMSMain.AddForm.js
@@ -70,7 +70,8 @@
});
$(".cms-add-form #PageType li").entwine({
- onclick: function() {
+ onclick: function(e) {
+ e.preventDefault();
this.setSelected(true);
},
setSelected: function(bool) {

0 comments on commit 2ba26ba

Please sign in to comment.