Jump to content

Using Ajax request on Override AdminOrdersController


reno123

Recommended Posts

Hi everyone !

I saw similar topics, but it did not help :(

 

PS: 1.6.1.1

 

Overview:

Is there any "magic" code that override of AdminOrdersController must include to gets ajax request (jQuery) ?

 

Details:

I have Ajax request called on Orders List page. When this request is "reciced" by function located in oryginal AdminOrdersController , it runs fine !

 

But just when I move the function that gets the call from Ajax, to separated file in /override/controllers/admin/ , it fails. -> no answer from request.

 

Why ???

 

I suppose I should add something that "gives" URL for Ajax, but I don't know what...

 

Thanks in advace !

Edited by reno123 (see edit history)
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
×
×
  • Create New...