Bug Tracker

Modify

Ticket #4992 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

ajax() and underscores

Reported by: deliriant Owned by:
Priority: trivial Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: Cc:
Blocking: Blocked by:

Description

have searched all over for a solution to this and am not sure if it's a real bug but below is the function am trying to call:

$.ajax({

method: 'get', url:  http://www.domain.com/hook.php?hook=mod.galleries/cp.galleries.files.php&action=comments_status&file=0&ajax=1, beforeSend: function(){

}, success: function(html){

$('#layer').html(html);

}

});

note the "comments_status", it won't return anything on success, but when i replace with an argument like "delete" it returns the page am trying to load.

i hope there's a simple solution for this. thank you in advance.

Change History

comment:1 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Can you debug this a bit more? For example, are you seeing the action parameter correctly in the php file that receives the ajax call? Please reopen with a complete test case.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.