[Moo] doesnt render unless alert function is used:?Help pl.

3 messages Options
Embed this post
Permalink
BVLS

[Moo] doesnt render unless alert function is used:?Help pl.

Reply Threaded More More options
Print post
Permalink

Hi,

Here is my link, where I am trying to write an RTE using custom
classes.
Pretty straight forward design.

http://www.parisodhana.com/webdesk/o2rtev091a/

In Editor Class, render function, only if I use alert function, here
it is alert(this.editorid),
the editing and designmode gets - "on" .

Where am I going wrong?
How to fix it ?

Could some one help me ?
Thanks

prasad.
jiggliemon-2

[Moo] Re: doesnt render unless alert function is used:?Help pl.

Reply Threaded More More options
Print post
Permalink

For me.  The issue was my object needed more time to load.
My solution was to attach my constructor, or your .render() to some
sort of "onComplete" event. so as to not try and render before your
Editor object is "loaded".

-Chase



On Nov 2, 7:04 pm, BVLS <[hidden email]> wrote:

> Hi,
>
> Here is my link, where I am trying to write an RTE using custom
> classes.
> Pretty straight forward design.
>
> http://www.parisodhana.com/webdesk/o2rtev091a/
>
> In Editor Class, render function, only if I use alert function, here
> it is alert(this.editorid),
> the editing and designmode gets - "on" .
>
> Where am I going wrong?
> How to fix it ?
>
> Could some one help me ?
> Thanks
>
> prasad.
BVLS

[Moo] Re: doesnt render unless alert function is used:?Help pl.

Reply Threaded More More options
Print post
Permalink

How do I do that ?
I tried few setTimeout commands but that didnt help me.
and all the Ajax calls are 'onComplete' now.

could you pl. be abit more elaborate so that I can try some thing out
with my code too . ???

thanks
Prasad.

On Nov 3, 5:20 pm, jiggliemon <[hidden email]> wrote:

> For me.  The issue was my object needed more time to load.
> My solution was to attach my constructor, or your .render() to some
> sort of "onComplete" event. so as to not try and render before your
> Editor object is "loaded".
>
> -Chase
>
> On Nov 2, 7:04 pm, BVLS <[hidden email]> wrote:
>
> > Hi,
>
> > Here is my link, where I am trying to write an RTE using custom
> > classes.
> > Pretty straight forward design.
>
> >http://www.parisodhana.com/webdesk/o2rtev091a/
>
> > In Editor Class, render function, only if I use alert function, here
> > it is alert(this.editorid),
> > the editing and designmode gets - "on" .
>
> > Where am I going wrong?
> > How to fix it ?
>
> > Could some one help me ?
> > Thanks
>
> > prasad.