I totally didn't see this message. So sorry for the late reply and Merry
Christmas and Season's Greetings and what not... =)
Ok. I have changed the ...dialogs: { alert:... to ...dialogs: { youtube:
How would I go about calling the alert then?
You see, the funny thing is... I had it working before and am pretty
sure that I used alert:.... I decided to test out a few functions in a
forked version of this but found it had quite a number of issues for my
implementation so I reverted back to this main fork. And now it doesn't
work. Weird.
> --
>
> You received this message because you are subscribed to the Google Groups "MooEditable" group.
> To post to this group, send email to mooed...@googlegroups.com.
> To unsubscribe from this group, send email to mooeditable...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mooeditable?hl=en.
>
>
>
>
Your original code should work fine though. Could you hook up a demo/
test page?
Also, Merry Xmas :)
On Dec 29, 8:25 am, "[F]usion[S]tream - Gmail"
I think I know where the problem is. I see that you have
'this.dialogs.youtube.alert.open();' inside the onClick function,
where 'this' actually refers to the 'Dialog' instead of 'MooEditable'
instance.
For now, what you can do is to pass a function into the Dialog
function and call it like this:
http://github.com/cheeaun/mooeditable/blob/master/Source/MooEditable/MooEditable.js#L1213
.. and you could access the MooEditable instance as 'editor' over
here:
http://github.com/cheeaun/mooeditable/blob/master/Source/MooEditable/MooEditable.js#L1362
Cheers.
On Dec 29 2009, 11:45 am, ".:: [F]usion[S]tream ::. -- online"
<fusionstr...@gmail.com> wrote:
> ok.. try here....http://fusionstream.org/a.html
>
> ignore the bad layout as it's mostly cut and paste.. the first two buttons
> are youtube and gvideos respectively...
>
> enter a valid youtube/gvideo address into the dialog and the code will
> appear, failing that nothing will happen... (it should actually popup an
> alert)
>
> code reverted back to original for comparison
>
> On Tue, Dec 29, 2009 at 11:37 AM, .:: [F]usion[S]tream ::. -- online <
>
>
>
> fusionstr...@gmail.com> wrote:
> > possible for you to create a live account on the forum I run and test the
> > fishingkakiV3 template there?
>
> > Or do you want a live demo.
>
> >http://www.fishingkaki.com/forumand when creating a new template, choose
> > fishingkaki*V3* as your template. Create a new topic in test section.
>
> > Or I could create a dedicated demo. =)
>
> >> mooeditable...@googlegroups.com<mooeditable%2Bunsu...@googlegroups.com>
> >> .
> >> > > For more options, visit this group athttp://
> >> groups.google.com/group/mooeditable?hl=en.
>
> >> --
>
> >> You received this message because you are subscribed to the Google Groups
> >> "MooEditable" group.
> >> To post to this group, send email to mooed...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> mooeditable...@googlegroups.com<mooeditable%2Bunsu...@googlegroups.com>
To unsubscribe from this group, send email to mooeditable...@googlegroups.com.
// Build the content of iframe
var docHTML = this.options.html.substitute({
BASECSS: this.options.baseCSS,
EXTRACSS: this.options.extraCSS,
EXTERNALCSS: (this.options.externalCSS) ? '<link rel="stylesheet" href="' + this.options.externalCSS + '">': '',
CONTENT: this.cleanup(this.textarea.get('value'))
});
On Jan 14, 1:11 pm, ".:: [F]usion[S]tream ::. -- online"
--
You received this message because you are subscribed to the Google Groups "MooEditable" group.
To post to this group, send email to mooed...@googlegroups.com.
To unsubscribe from this group, send email to mooeditable...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mooeditable?hl=en.