Minor, but when users paste a word(s) into the title field nothing comes up even if they're similar entries.

CommentFileSizeAuthor
#8 pasterightclick-728354-8.patch813 bytesalexkb

Comments

coltrane’s picture

Yeah, there maybe a Javascript event that can be used to handle that.

mikejonesok’s picture

Yes, I am think a search button will help solve this little issue.

greggles’s picture

Title: Not Working If Using Copy and Paste » Respond to copy and paste in addition to typing text

Search button seems like overkill and a confusing UI.

bforchhammer’s picture

I can't reproduce this issue; when I paste something into the title box the uniqueness widget still looks (and finds) similar content...

This might be a browser issue (it works for me on FF3.6), i.e. we might need a different javascript event for certain browsers; on the other hand jQuery should be handling browser-incompatibilities like that for us already...

bforchhammer’s picture

Status: Active » Closed (cannot reproduce)
L'ane’s picture

Issue summary: View changes
Status: Closed (cannot reproduce) » Needs review

I found this issue also, but I clearly see how it would be hard to reproduce. Everything works fine if you use ctrl-V to paste. However, no search is initiated when you right-mouseclick-paste (i.e. you can reproduce this issue). However, a search can be initiated by clicking the ctrl key or typing something. As I'm trying to eliminate duplicate content, it would be better if my users didn't have to do anything else after the right-mouseclick-paste.

I am not sure why the two different paste methods are handled differently. It would be nice if there was a simple fix/patch to handle the right-mouseclick-paste case. Unfortunately, my users aren't always savvy enough to handle the subtleties. I would like to get this working robustly regardless of how users paste.

To get this fixed, would I need to open a new ticket since this is already closed?

Thanks!

bforchhammer’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Needs review » Active

This issue is fine.

Maybe this stackoverflow topic can help; we might only have to adjust the input event; if someone can figure out what exactly needs to be changed and writes a patch, I'll happily commit it.

alexkb’s picture

Issue summary: View changes
StatusFileSize
new813 bytes

As per @bforchhammer's suggestion, attached is a (small) patch that should let uniqueness work on "right click->paste" events as well as Ctrl-V. All it's doing is binding to all the possible data entry type trigger events.

P.S. Great module btw! Came across it via this groups.drupal post.

alexkb’s picture

Issue summary: View changes
bforchhammer’s picture

Status: Active » Fixed

Committed and pushed #8, thanks!

  • Commit 59e1563 on 7.x-1.x authored by alexkb, committed by bforchhammer:
    Issue #728354 by alexkb | mikejonesok: Respond to copy and paste in...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.