jpsullivan / Gmail-Docs-Autosave

Save those pesky Gmail attachments directly to Google Docs from the attachment list itself with a newly added Save To Docs link.
https://chrome.google.com/webstore/detail/epoohehjbaenldfbahgcegdmlogakgin
15 stars 0 forks source link

Save to Docs link does not appear in email search results with Preview Pane enabled. #4

Closed jpearls closed 12 years ago

jpearls commented 13 years ago

With Preview Pane enabled, if I search for an email with a file attached and then open that email, the Save to Docs link never appears.

I believe this is just a result of the different span id...

< span id=":vd" > View / Save / Download Links < /span >

(FYI, works fine in search without Preview Pane enabled.)

jpsullivan commented 13 years ago

This appears to be working correctly as of now.

jpsullivan commented 13 years ago

This only happens after searching for something (ie, has:attachments pdf). It seems that the layout is completely erasing all prior Javascript bindings upon searching.

jpearls commented 13 years ago
jpearls commented 13 years ago

Does the extension rely on the virus scan to run to trigger it to insert the link?

jpsullivan commented 13 years ago

Nah, basically the extension just looks for the text 'scanning for viruses...' every second until it no longer exists on the page, in which case it then executes the function to build the new link.

I'm still experimenting with more efficient methods than this since that can get to be somewhat "noisy".

jpsullivan commented 12 years ago

Seems to be working correctly with the preview pane enabled now. Great googly moogly. Closing this until I see any more issues pop up surrounding this topic.