Skip to content

Commit 6fac3b7

Browse files
save file
1 parent 6ae59fc commit 6fac3b7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

utils/misc/nodejs-terminal/html/webcontainer-fs/webcontainer-fs.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@
145145
$(btns,'[value=cancel]').onclick = btn.cancel;
146146
$(btns,'[value=ok]').onclick = btn.ok;
147147

148+
149+
148150
}//initdom
149151

150152

@@ -231,8 +233,6 @@
231233

232234
file.dblclick = function(path,filename){
233235
debug('file.dblclick',path,filename);
234-
//load.ui(url,path,filename);
235-
236236
}//dblclick
237237

238238

@@ -242,6 +242,7 @@
242242
var abs = path+name;
243243
debug(abs);
244244
await webcontainer.fs.writeFile(abs,'');
245+
245246
return false;
246247

247248
}//add

0 commit comments

Comments
 (0)