| Issue 14: | MooEditable constructor issue | |
| 1 person starred this issue and may be notified of changes. | Back to list |
This works;
m = new MooEditable($('textarea-1'));
But this
m = new MooEditable('textarea-1');
results in the error;
"this.textarea.getSize is not a function" (Line 93)
It seems to be the convention that mootools classes can accept an extended
element or just the id string and the class will extend the element
automatically. Just for consistency this would be nice.
Although I'm only instantiating MooEditable like this due to Issue 13 ,
rather than;
m = $('textarea-1').mooEditable();
I guess either is OK.
Keep up the good work :)
Nov 29, 2008
Project Member
#1
cheeaun
Status:
Fixed
|