From 0cda74283ace2af53332667a32978dac2701dc78 Mon Sep 17 00:00:00 2001 From: matitaweb Date: Thu, 8 Sep 2011 13:38:36 +0000 Subject: [PATCH] Matitaweb: more changes to file selection dialog box. --- matitaB/matita/index.html | 2 +- matitaB/matita/matitaFilesystem.ml | 2 +- matitaB/matita/treeview/xmlTree.js | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) 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); +} -- 2.39.2