another test

This commit is contained in:
Ben Arc 2021-04-20 14:44:36 +01:00
parent 5fb0b55fef
commit 5501eb1b74

View File

@ -504,7 +504,6 @@
this.g.user.wallets[0].inkey this.g.user.wallets[0].inkey
) )
.then(function (response) { .then(function (response) {
console.log(response.data)
return response.data return response.data
}) })
.catch(function (error) { .catch(function (error) {
@ -513,17 +512,16 @@
}, },
openCopilotCompose: function (copilot_id) { openCopilotCompose: function (copilot_id) {
var copilot = this.getCopilot(copilot_id) var copilot = this.getCopilot(copilot_id)
console.log(copilot) console.log(JSON.stringify(copilot))
localStorage.setItem('copilot', JSON.stringify(copilot)) localStorage.setItem('copilot', JSON.stringify(copilot))
let params = let params =
'scrollbars=no, resizable=no,status=no,location=no,toolbar=no,menubar=no,width=1722,height=972,left=200,top=200' 'scrollbars=no, resizable=no,status=no,location=no,toolbar=no,menubar=no,width=1722,height=972,left=200,top=200'
open('../copilot/cp/', 'test', params) open('../copilot/cp/', 'test', params)
}, },
openCopilotPanel: function (copilot_id) { openCopilotPanel: function (copilot_id) {
localStorage.setItem( var copilot = this.getCopilot(copilot_id)
'copilot', console.log(JSON.stringify(copilot))
JSON.stringify(this.getCopilot(copilot_id)) localStorage.setItem('copilot', JSON.stringify(copilot))
)
let params = let params =
'scrollbars=no, resizable=no,status=no,location=no,toolbar=no,menubar=no,width=1722,height=972,left=200,top=200' 'scrollbars=no, resizable=no,status=no,location=no,toolbar=no,menubar=no,width=1722,height=972,left=200,top=200'
open('../copilot/pn/', 'test', params) open('../copilot/pn/', 'test', params)