Merge pull request #465 from franckbret/master
[FIX] Correctly URI encode website new page title
This commit is contained in:
commit
53315288a8
|
@ -47,7 +47,7 @@
|
|||
}
|
||||
}).then(function (val, field, $dialog) {
|
||||
if (val) {
|
||||
var url = '/website/add/' + encodeURI(val);
|
||||
var url = '/website/add/' + encodeURIComponent(val);
|
||||
if ($dialog.find('input[type="checkbox"]').is(':checked')) url +="?add_menu=1";
|
||||
document.location = url;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue