]> matita.cs.unibo.it Git - helm.git/commitdiff
Matitaweb: changes to file selection dialog box.
authorWilmer Ricciotti <ricciott@cs.unibo.it>
Thu, 8 Sep 2011 12:58:31 +0000 (12:58 +0000)
committerWilmer Ricciotti <ricciott@cs.unibo.it>
Thu, 8 Sep 2011 12:58:31 +0000 (12:58 +0000)
matitaB/matita/treeview/xmlTree.js

index c3210adc35feafe0476c655d701283723d179703..9c25b413694d2039e90ff6acf8c989ea6565c5d3 100644 (file)
@@ -13,7 +13,7 @@ function showBranch(branch,path){
                objBranch.display="block";\r
        swapFolder('I' + branch);\r
        // codice per mostrare il path nella casella di testo\r
-       dialogFilename.value = path;\r
+       selectFile(path);\r
 }\r
 \r
 function swapFolder(img){\r
@@ -23,3 +23,7 @@ function swapFolder(img){
        else\r
                objImg.src = closedImg.src;\r
 }\r
+\r
+function selectFile(path) {\r
+       dialogFilename.value = path;\r
+}\r