sedjs.redirect(this) not working
SeditioCMS opened this issue · comments
$onchange = (empty($redirecturl)) ? " onchange=\"sedjs.redirect(this)\"" : "";
page.add onchange not working
It redirects directly to the category name, which gives an error.
this is the way it should be
$result .= "<option value=\"" . $redirecturl . "page/add?c=".$i . "\" $selected> " . $x['tpath'] . "</option>";
But this time the page is not posted either.