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

  • Code
    <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;}"
    />
    Code
    <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"

  • 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

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!