From: matitaweb Date: Thu, 8 Sep 2011 13:38:36 +0000 (+0000) Subject: Matitaweb: more changes to file selection dialog box. X-Git-Tag: make_still_working~2304 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=0cda74283ace2af53332667a32978dac2701dc78;p=helm.git Matitaweb: more changes to file selection dialog box. --- diff --git a/matitaB/matita/index.html b/matitaB/matita/index.html index 143d91488..cfaeddc40 100644 --- a/matitaB/matita/index.html +++ b/matitaB/matita/index.html @@ -66,7 +66,7 @@
- + diff --git a/matitaB/matita/matitaFilesystem.ml b/matitaB/matita/matitaFilesystem.ml index 47e2ff599..b6a26f98b 100644 --- a/matitaB/matita/matitaFilesystem.ml +++ b/matitaB/matita/matitaFilesystem.ml @@ -82,7 +82,7 @@ let html_of_library uid = in let leaf lpath = "\n" ^ - "" ^ + "" ^ (Filename.basename lpath) ^ "
" in diff --git a/matitaB/matita/treeview/xmlTree.js b/matitaB/matita/treeview/xmlTree.js index 9c25b4136..181534859 100644 --- a/matitaB/matita/treeview/xmlTree.js +++ b/matitaB/matita/treeview/xmlTree.js @@ -27,3 +27,7 @@ function swapFolder(img){ function selectFile(path) { dialogFilename.value = path; } + +function dialogOK() { + retrieveFile(document.getElementById("dialogFilename").value); +}