| Issue 13: | example "default-api-demo" is broken | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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
Status:
Fixed
|