Closing a Popup window

When showing a Popup component with the parameters: element, “bottom”, true

The window appears with a pointer div correctly. When the Popup component’s “close” function is called, it will remove the window correctly. Except it leaves the pointer div.

Not sure of the best fix. But one suggestion is to add the line:

if (this._hide_point) this._hide_point();

Around line 9087 in the close function of window component.

Thanks,
Kris

Kris,

We have not reproduced the problem in the latest Touch library. Are you using the latest one ?

I believe this routine will reproduce the error. I am currently using Touch release v10_111114.
Note: Hiding the window does hide the pointer. It is the close (or destroy) function that does not remove the pointer div.

imc.util.errorMsg = function(el, test, err) {
if (!el || !err) { return; }
var element = el;
var errMsg = text + " (" + err + “)” ;
var popup = dhx.ui({
view:“popup”,
hidden: true,
height: -1,
width: 320,
body:{ template:"

" +
errMsg + “
” }
});
popup.show((element.getInput()||element.getNode()), “bottom”, true);
dhx.delay(popup.close, popup, [], 5000);
}