RainLoop / rainloop-webmail

Simple, modern & fast web-based email client
http://rainloop.net
MIT License
4.1k stars 886 forks source link

reloadCommand outside RainLoop code #1221

Open raszkiewicz opened 7 years ago

raszkiewicz commented 7 years ago

I'm trying to create a plugin for auto-refresh INBOX folder and any custom/shared folder after X time.

So far I have got it to work when user has selected INBOX or any custom/shared folder but when is for an example Trash is not taking any affect rather than is executed after random amount of time.

Is there anything in the RainLoop code what prevents to execute reloadCommand outside of main code for a period of time?

Thanks

bencurio commented 7 years ago

+1

bencurio commented 7 years ago

Workaround:

$(".buttonReload").click();

raszkiewicz commented 7 years ago

That workaround is not perfect as this will keep tooltip "Reload" appear each time even when you are typing message :) I have done and went through that. Ended up with Rainloop code customization to accomplish desired functionality but there is no way to do that via plugin.

bencurio commented 7 years ago

Yeah I know :( I don't like hacking solutions, but little CSS "hacking"?

#opentip-5 { display: none!important; }