Page 1 of 1

Not Implemented

Posted: Sun Aug 27, 2006 10:21 am
by GeXus
I get a not implemented error when I call the following function... im simply doing an onclick addnote().. any idea why this would happen?

Code: Select all

function AddNote()
                {
                    var newNote = new PhotoNote('Add note text here...',-1,new PhotoNoteRect(10,10,50,50));
                    newNote.onsave = function (note) { return 1; };
                    newNote.ondelete = function (note) { return true; };
                    notes.AddNote(newNote);
                    newNote.Select();
                }

Posted: Sun Aug 27, 2006 10:27 am
by feyd
Case sensitive?

Posted: Sun Aug 27, 2006 10:40 am
by GeXus
Yeah sorry, im using AddNote()

Posted: Sun Aug 27, 2006 10:54 am
by GeXus
omg, i spent several hours tearing apart this code.. and i had onclick="onclick="


ARRG!

Posted: Sun Aug 27, 2006 11:10 am
by feyd
hahaha.
Image