I am using editable fields in my views and when I place them in a quicktab instance, the ajax call does not work when the field values are changed. I tried setting the option to load only the first tab thinking it may be affecting the ajax call from editable fields, however, it just gave me an ajax 404 error when each tab was clicked. The editable fields work fine otherwise.This is almost as if Quicktabs is supressing the ajax callback.

CommentFileSizeAuthor
#2 2269047-working.png120.09 KBdeepak_123
#2 2269047-not-working.png120.2 KBdeepak_123
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hollyfox’s picture

as it turns out, the ajax works on some of them intermittently.

deepak_123’s picture

Version: 7.x-3.x-dev » 7.x-3.6
FileSize
120.2 KB
120.09 KB

I am facing the same issue with version 7.x-3.6. In my case when i place the view containing editable fields inside a quicktab, and then when i click on "edit this field" link, it redirects me to the view page, where as it should update that section with ajax and not redirect. The weird thing is that this is not happening for all the fields on the view, but only for some fields. Refer to screenshots. not-working and working

Can someone take this up please? Thanks.

deepak_123’s picture

I found a workaround for this. Instead of placing a views page inside a quicktab, i created a views block. The ajax editable fields in the views block work perfectly and clicking the "edit this field" link does not redirect to a new page(views block does not have a url but views page does).

deepak_123’s picture

#3 worked only until i cleared the cache. The redirection started happening again after clearing cache.

I refered to https://www.drupal.org/node/345175 and then tried this -

The view should be directly under the QT, there should nt be any other layer in between, i.e. this view should not be in a block, it should be a page view, so you can select view option in QT. Secondly, the view should not have multiple displays, only a single one. Otherwise only the first display of the view will work nicely with QT, the others will get messed up.

- I created a separate view this time(instead of block display in the same view), and turned ajax off for this from the views advanced options.
- I unchecked "click to edit" option from the field formatter option. So the editable fields appear directly in the view.
- Then added this view to the QT, and cleared cache.

This is working for me.