webix-jet modal window / webix.alert

When creating modal window using $scope (or $windows) and then going back (change url), window is properly destroyed but not modal mask.

Is there possibility to use webix.alert with $scope (so that message box is destroyed after urlchange)?

Hi,

When creating modal window using $scope (or $windows) and then going back (change url), window is properly destroyed but not modal mask.

We will fix this bug in the next version.

Is there possibility to use webix.alert with $scope (so that message box is destroyed after urlchange)?

There is not $scope support for alert message. webix.alert returns html element that you can detach then:

$oninit:function(view){
    anode= webix.alert(...);
},
$ondestroy:function(){
   webix.html.remove(anode);
}

thanks for reply

Have tryed your suggestion - webix.html.remove(anode);

Box is removed, modal mask stays…