enableTabCloseButton and firefox 3


On firefox 3, when I set enableTabCloseButton to true and users click on the cross, firefox 3 throws this exception :

Erreur : uncaught exception: [Exception… “Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.appendChild]” nsresult: “0x80004003 (NS_ERROR_INVALID_POINTER)” location: “JS frame :: file:///D:/java/dhtmlxtabbar/dhtmlxTabbar/codebase/dhtmlxtabbar.js :: anonymous :: line 81” data: no]

Problem confirmed and fixed. Fix will be released as part of next build.
Fixed js file sent by email.


Your fix seems to have create another issue.

In our application we create iframes tabs with a special tab named “results”.

With the old javascript, dhtmlXTabbar create the iframe with the attribute “name” equals to “results”. All the search request from “form” with the attribute “target” equals to “results” display the results in this special tab.

With your update, the iframe haven’t the “name” attribute.

Is it normal ?

Best regards,