mails2nitesh / kfm

Automatically exported from code.google.com/p/kfm
0 stars 0 forks source link

First time double clicking a file without associated double click plugin gives alert with dots in stead of text #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
See title, svn 947

Original issue reported on code.google.com by thalia.t...@gmail.com on 23 Dec 2009 at 5:57

GoogleCodeExporter commented 8 years ago
this is a side-effect of the languages update. what /should/ happen is that the 
alert
should show dots temporarily while KFM retrieves the error string's 
translation, and
then the dots should replace themselves with the correct string.

I'm checking this now. I think maybe I'm using the wrong kind of alert.

Original comment by kae.verens@gmail.com on 27 Dec 2009 at 12:04

GoogleCodeExporter commented 8 years ago
fixed.
http://code.google.com/p/kfm/source/detail?r=950

the problem appears to have been that the replacement text was being added 
before the
popup's HTML had been added to the document's DOM.

I added a 1ms delay before the translation is added to its correct position. 
this
should fix most cases where this thing is happening.

Original comment by kae.verens@gmail.com on 27 Dec 2009 at 12:15