My favorites | Sign in
Project Home Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 13: example "default-api-demo" is broken
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Nov 2008


 
Reported by nickolas...@gmail.com, Nov 22, 2008
With this line in /examples/default-api-demo.html

    m = $('textarea-1').mooEditable();

m is the textarea element
(assume this is releated to changes in r63 /
https://code.google.com/p/mooeditable/source/detail?r=63)

so the buttons in the example return errors like;
    m.selection is undefined
    m.setContent is undefined

Changing the line to

    m = new MooEditable($('textarea-1'));

fixes these errors.

Also affects "default-submit-ajax.html"

I'd rather use 'm' as above than
    $('textarea-1').get('mooeditable');
if it can be helped, though I suppose it doesn't really matter.

Also see  issue 14 .

Nov 29, 2008
Project Member #1 cheeaun
(No comment was entered for this change.)
Status: Fixed

Powered by Google Project Hosting