I had a view to edit a text content in drupal 6 and on blur it use to save the changes in the field. After upgrading to drupal 7 it saves the content but moves the focus to top of the textarea, may be because the views is refreshing the contents after saving the content. Can I get the drupal 6 behaviour of keeping the control at the end of the textarea. This causes a problem when the textarea has a scrollbar.

Thanks

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sadashiv’s picture

Status: Active » Needs review
FileSize
764 bytes

Hi,

I added some js which provides this functionality. I am attaching the patch for the fix.

Hth,
Sadashiv.

sadashiv’s picture

Priority: Normal » Major

Hi,

Would be great if someone can test, verify that patch works and move it ahead.

Thanks,
Sadashiv.

joelpittet’s picture

Category: Support request » Feature request
Priority: Major » Normal

Feature requests are rarely major. Thanks for the patch. Maybe you could re-title to get more specific to what the patch is doing?