Uncaught TypeError: Cannot read property ‘parentNode’ of null
this._viewobj==null
//because we using non-standard rendering model, custom logic for mouse detection need to be used
_mouseEvent:function(e,hash,name,pair){
e=e||event;
var trg=e.target||e.srcElement;
if (this._settings.subview && this != webix.$$(trg)) return;
//define some vars, which will be used below
var css = '',
css_call = [],
found = false,
id = null,
res,
trg=e.target||e.srcElement;
//loop through all parents
while (trg && trg.parentNode && trg != this._viewobj.parentNode){
Ошибка возникает периодически после закрытия всплывающего окна, которое создаётся вот так:
{
id: win_id + control_id,
modal: true,
view: "window",
move: true,
head: {
view: "toolbar", cols: [
{ view: "label", label: '', id: head_id + control_id },
{
view: "icon", icon: "times-circle", click: function () {
webix.$$(win_id + control_id).destructor();
}
}
]
},
position: "center",
body: body,
on: {