$this->Editor->retArr[] = array('where' => 'javascript', 'value' => 'confirm("Invalid email address");');
after the user presses ok or cancel i have this
if (retArr==true)
{
return true;
}
else
{
return false;
}
i want it not to update if user presses cancel. it is not working. can u help with this? thank you