Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FIX 8316 Prevents browser default behaviour when changing the pagetyp…

…es if creating a new page
  • Loading branch information...
commit 2ba26ba701253a2cea1e8d2aa43927784b410b05 1 parent a5e84c0
@patbolo patbolo authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  javascript/CMSMain.AddForm.js
View
3  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) {
Please sign in to comment.
Something went wrong with that request. Please try again.