speedtag/chrome/content/speedtag.js

12 lines
270 B
JavaScript
Raw Normal View History

2011-05-23 20:35:35 +00:00
$(function() {
var savePath = '';
$('#saveLocationBtn').click(function() {
savePath = selectFile();
});
$('#selectAudioFile').click(function() {
fil = selectFile();
data = mozillaLoadFile(fil);
mozillaSaveFile("/tmp/blah.mp3", data);
});
});