Fix deprecated variable use
This commit is contained in:
parent
c5c277f516
commit
bc71ca9682
@ -49,14 +49,14 @@ export default class Finder extends WDEApplication{
|
||||
path: path
|
||||
})
|
||||
|
||||
const response = await fetch(`/app/${Finder.AppId}/renderProps?` + params)
|
||||
const response = await fetch(`/app/${this.AppId}/renderProps?` + params)
|
||||
if (response.status != 200){
|
||||
// WebDesktopEnvironment.Alert("Error in properties render") //TODO
|
||||
return false
|
||||
}
|
||||
const html = await response.text()
|
||||
|
||||
let newWindow = super.WDE().Decorat.CreateNewWindow(Finder.AppId, 350, 500 )
|
||||
let newWindow = super.WDE().Decorat.CreateNewWindow(this.AppId, 350, 500 )
|
||||
newWindow.innerHTML = html
|
||||
newWindow.querySelector("#closeWindowButton").addEventListener('click', function (params) {
|
||||
// WebDesktopEnvironment.CloseWindow(newWindow)
|
||||
|
Loading…
Reference in New Issue
Block a user