Fixed delete tool

This commit is contained in:
Oleg Sh 2024-03-16 15:14:01 +01:00
parent 3f13e382f5
commit 6eba32bb22

View File

@ -218,7 +218,7 @@ Editor.prototype.initButtonActions = function()
{
userAction(this.id);
self.restButtons ('DeleteObject');
self.application.SetHandler(document.getElementById('DeleteObject').className != "" ? new DeleteGraphHandler(tself.applicationhis) : new DefaultHandler(self.application));
self.application.SetHandler(document.getElementById('DeleteObject').className != "" ? new DeleteGraphHandler(self.application) : new DefaultHandler(self.application));
}
document.getElementById('DeleteAll').onclick = function ()