Currently I've got a view block for administering weights of nodes as drag and drop. Ultimately I'd like this to be attached to the node/edit form for a particular page but in order to do that I need to be able to submit the node weight form via ajax. It looks like that form currently requires a views page to be set up and then the action redirects to the path of the page. Is it possible to do this with a block and not a page? Is ajax the right solution? I'd settle for the form submit redirect just going to the same page the block is on for now but it appears to redirect to the homepage if no path is specified.

Comments

davisben’s picture

Status: Active » Closed (works as designed)

The current behavior is for the form to be submitted to whatever page it is on. I think that's the best way for this to work.