No ajax on link

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
RMcGirr83
Former Team Member
Posts: 21826
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

No ajax on link

Post by RMcGirr83 »

In one of my extensions, stop form spam specifically, a button is placed in along with the other buttons for delete, quote, report, etc. in viewtopic and has data-ajax set. In full browser window the button works as intended. In mobile view, or when the buttons become compressed and are displayed in a drop down, ajax fails, request->is_ajax returns false. I've been looking at it for a few hours and darned if I can wrap my head around why request->is_ajax isn't true as it is when using full window.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beerImage
User avatar
ViolaF
Registered User
Posts: 1546
Joined: Tue Aug 14, 2012 11:52 pm

Re: No ajax on link

Post by ViolaF »

can anyone answer to this fantastic guy??
Post Reply

Return to “Extension Writers Discussion”