Welcome Guest, Not a member yet? Register   Sign In
Problem with JEditable
#3

[eluser]RMinor[/eluser]
I changed my controller to look like the following...
Code:
public function edit()
{
    $id = $this->input->post('id');
    $name = $this->input->post('value');
    if ($this->Category_model->edit($id, $name)) {
        redirect('admin/categories');
        //return $name;
        //echo $name;
        //return TRUE;
    }
    return FALSE;
}

However, it still does not work. No redirect happens, but the data does get updated in the database. I also tried it with and without the url helper loaded, but that doesn't change anything. Do you think maybe a setting is set wrong somewhere? I have enabled query strings and also turned off gzip as well. I read in other threads that this was the problem for some, but it doesn't make a difference for me.


Messages In This Thread
Problem with JEditable - by El Forum - 03-09-2012, 08:37 AM
Problem with JEditable - by El Forum - 03-10-2012, 09:15 AM
Problem with JEditable - by El Forum - 03-10-2012, 09:36 AM
Problem with JEditable - by El Forum - 03-10-2012, 11:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB