1
0
forked from GitHub/gf-core

translator: remove debug code

This commit is contained in:
hallgren
2013-02-11 16:13:39 +00:00
parent 0a8ccfe912
commit 4ee6a83369

View File

@@ -627,7 +627,7 @@ Translator.prototype.import_globalsight=function(el) {
t.filebox.appendChild(wrap("h2",text("Import")))
function restore() { t.hide_filebox() }
var cancel_button=button("Cancel",restore)
if(false && supports_local_files()) {
if(supports_local_files()) {
// Allow import from local files, if the browers supports it.
var files=node("input",{name:"files","type":"file"})
var inp=wrap("p",wrap("label",[text("Choose a file: "),files]))