Sie sind nicht angemeldet.

1

Montag, 24. September 2012, 11:13

bug: enabled="false", but plugin takes actions

Quellcode

1
2
3
4
<plugin name="goto_text" url="%SWFPATH%/textfield.swf" parent="goto" selectable="false" x="0" y="6" width="216" height="24" enabled="false" keep="true" visible="true" alpha="0.7" align="lefttop" background="false" zorder="2"
   	 html="[p]Переход к другой панораме[/p]"
   	 css="p{color:#ffffff; font-family:Tahoma; font-size:14; margin-left:0; margin-right:0; text-align:center;}"
/>

Quellcode

1
2
3
4
5
6
7
8
9
10
<plugin name="goto"
			parent="podgoto"
			url="%SWFPATH%/art/goto.png"
			align="lefttop"
			y="0"
			x="0"
			zorder="1"
			onclick="showphoto(photo1)"
			enabled="true"
	/>


In firefox when i click on "goto_text", it does not perform action of goto ( "showphoto(photo1)" )
only in firefox... (16 beta and 15 tested)

We can solve this problem like this: plugin "goto_text" is enabled and onclick="plugin[goto].onclick();"
But in other browsers it work without this "trick"

2

Freitag, 28. September 2012, 17:05

Hi,

thanks, this is an already known bug, it will be fixed in the next release.

Best regards,
Klaus

3

Samstag, 29. September 2012, 18:27

Ah, I'm getting this on chrome as well. When should we expect the next release?


In my code the plugin is generated on the fly and I'm finding it very difficult to write an onlcick function that will fire the same actions as the parent because the parent is getting its name from another plugin and is different each time. I don't mind waiting a few days, but if its months away I'll have to start rewriting the whole block.

Thanks

4

Samstag, 6. Oktober 2012, 16:08

Hi, that bug is fixed now:
krpano 1.0.8.15 (Updated)