Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I have enabled editable fields in a view.
When I click on an editable field and type a new value and hit the Return key, I get:
An AJAX HTTP request terminated abnormally.
Debugging information follows.
Path: /system/ajax
StatusText:
ResponseText:
ReadyState: 4
However, if I tab off, or click anywhere outside of the field, then it works properly.
Comments
Comment #1
arcane CreditAttribution: arcane commentedI am getting the same error with 7.x-1.0-alpha2 version of code.
Comment #2
arcane CreditAttribution: arcane commentedAfter further testing, I have noticed this only happens in Safari and not Firefox
Comment #3
arcane CreditAttribution: arcane commentedI have a sinking suspicion this is due to pressing return in autocomplete fields, http://drupal.org/node/1232416
Comment #4
arcane CreditAttribution: arcane commentedApplying patch #110 from http://drupal.org/node/1232416 prevents the error dialog from showing but the value of the field is reverted to its original value. So this is not an acceptable solution.
Comment #5
arcane CreditAttribution: arcane commentedI have also ascertained that this only happens when in a view, does not happen when viewing editable fields in a full node.
Comment #6
arcane CreditAttribution: arcane commentedResolved this error by adding the following line to editablefields.js
if (this.selected && (keycode == 13 || keycode = 10) return false;
This was just my quick and dirty fix, if anyone has a better way, please advise.
Comment #7
silverbell CreditAttribution: silverbell commentedI am getting the same error in Chrome & Firefox. I think my error is related to the overlay. I opened the same option in a new window (rather than the views popup dialog) and everything worked great, my change was saved, no errors.
Comment #8
arcane CreditAttribution: arcane commentedok, I had an error in my javascript, it's still not working at all.
Comment #9
Jochen Wendebaum CreditAttribution: Jochen Wendebaum commentedHas anyone solved this? I get exactly the same error on a page (og group page), while in a profile2 page it works.
Comment #10
fox mulder CreditAttribution: fox mulder commentedI am getting this error in Chrome, but in Firefox it works well...