[Chameleon] status of visible attribute
Bart van den Eijnden
bartvde at xs4all.nl
Sun May 15 14:20:06 EDT 2005
I spoke too early, I needed to make another change otherwise the zoom in
tool would not work anymore (and probably none of the tools .... ).
I got the following javascript error:
Error: this.oImage has no properties
Source File: http://localhost/chameleon//widgets/js/cwc_button.js
Line: 366
And I needed to change (adding the null check in SetState):
function CWCButton_SetState( nState )
{
if (!this.oImage) return false;
...
Maybe this is too much hacking, but I needed to have a widget in there
without seeing it.
Paul, do you see any other ways of doing this?
Best regards,
Bart
On Sun, 15 May 2005 20:13:20 +0200, Bart van den Eijnden
<bartvde at xs4all.nl> wrote:
> Hi Paul (cc list),
>
> what is the status of the visible widget attribute? I just read one of
> your posts from the end of 2004 in which it was unclear whether this was
> gonna be supported.
>
> I think a simple change like removing the alert message from
> cwc_button.js would do the trick for most use cases. What do you think?
>
> else
> {
> //alert( "image object for " + this.szImageName + " not found?"
> );
> }
>
> Best regards,
> Bart
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the Chameleon
mailing list