Skip to content

Commit 71921cf

Browse files
save file
1 parent 25077ec commit 71921cf

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

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

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@
8888
var icon;
8989

9090

91+
92+
var btn = {};
93+
94+
9195
//:
9296

9397

@@ -123,9 +127,40 @@
123127
icon.onclick = menu.click(mroot,'both',false,menu_callback);
124128

125129

130+
131+
var btns = $(shadow,'#btns');
132+
$(btns,'[value=update]').onclick = btn.update;
133+
$(btns,'[value=load]').onclick = btn.load;
134+
$(btns,'[value=save]').onclick = btn.save;
135+
$(btns,'[value=cancel]').onclick = btn.cancel;
136+
$(btns,'[value=ok]').onclick = btn.ok;
137+
126138
}//initdom
127139

128140

141+
//:
142+
143+
144+
btn.update = function(){
145+
}//update
146+
147+
148+
btn.load = function(){
149+
}//load
150+
151+
152+
btn.save = function(){
153+
}//save
154+
155+
156+
btn.cancel = function(){
157+
}//cancel
158+
159+
160+
btn.ok = function(){
161+
}//ok
162+
163+
129164
//:
130165

131166

0 commit comments

Comments
 (0)