Jump to content

Intercooler js problem


manlio
 Share

Recommended Posts

Hi!

I am using intercooler with processwire and I'm really happy from this combination.

I am not using the PW intercooler module by pwFoo because generally I find Intercooler very simple.

Although I have a problem when I try to replicate this example http://intercoolerjs.org/examples/deleterow.html

Basically when I delete a row I wanna pass back the http response using something like

$d = $pages->get($id);
$pages->delete($d);
header('X-IC-Remove : 1s',true);

but I receive a page not found error that I cannot understand. If I remove the header line everything is fine (but I cannot pass the 1s information back).

Hope that someone that has already jumped in has an idea how to solve this. Maybe PW is blocking something?

Thank you very much

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...