Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2008-06-06 06:18:43

jschade
Banned
Registered: 2008-05-31
Posts: 3

Custom Drop-Down Menu (dropdown)

Dear Colleagues

I am very sorry to bump into you with my newbie problems but I do not seem to come right. Sorry also for reposting. I posted this in a wrong thread because I had not found how to make a new topic (which obviously I mastered in the meantime).

Add Drop-Down Menu
I try to add my own drop-down in Xinha 0.95. The drop-down appears and is functional, but an error occurs "line 2123 Object doesn't support this property or method". The error message refers to a line in function "updateToolbar" referring to a function called "refresh".

I defined an  array called "opt", then defined the dropdown object and called "registerDropdown" as shown below:

    var selNt = {
        id: "selNt",
        tooltip: "Download an evaluation note",
        options: opt,
        action: function() {ld();}
    };
    EDITOR.config.registerDropdown(selNt);

What might I have done wrong?

With many thanks in advance Johannes

Offline

Board footer

Powered by FluxBB