interface.editor icon indicating copy to clipboard operation
interface.editor copied to clipboard

node-webkit save interface don't work

Open dekwilde opened this issue 11 years ago • 1 comments

In the node-webkit when i click in menu > Safe interface, return this error: Uncaught node.js Error TypeError: Object [object Object] has no method 'replace' at MenuItem.Interface.Editor.saveInterface as click at MenuItem.handleEvent (menuitem.js:167:12) at IDWeakMap.global.__nwObjectsRegistry.handleEvent (node.js:912:26)

dekwilde avatar Jun 26 '14 12:06 dekwilde

index.html line 613: template = template.toString().replace('// place your script here', str); Add the "toString()" and then it work,

dekwilde avatar Jun 26 '14 13:06 dekwilde