Closed (fixed)
Project:
Uniqueness
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2010 at 16:11 UTC
Updated:
1 Jun 2014 at 10:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
coltraneYeah, there maybe a Javascript event that can be used to handle that.
Comment #2
mikejonesok commentedYes, I am think a search button will help solve this little issue.
Comment #3
gregglesSearch button seems like overkill and a confusing UI.
Comment #4
bforchhammer commentedI 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...
Comment #5
bforchhammer commentedComment #6
L'ane commentedI 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!
Comment #7
bforchhammer commentedThis 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.
Comment #8
alexkb commentedAs 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.
Comment #9
alexkb commentedComment #10
bforchhammer commentedCommitted and pushed #8, thanks!