How to implement EventSource on Codeignigter app? |
Quote:"One big issue is the attempt to load a new "job finished" view. Any change to the existing page has to happen in the "message" event handler. So sending back the html of a whole page is not appropriate. Thanks for the reply! The job finished page is not necessary. If that is what I need to remove to get eventsource working, then so be it! SO how would I do this? Just not load the job finished view? EDIT: I just tried to remove this line: $this->load->view('templates/header'); $this->load->view('firearms/firearm', $data); $this->load->view('templates/footer'); But it doesn't change anything. It still tries to return something I think... |
Welcome Guest, Not a member yet? Register Sign In |