From: Wilmer Ricciotti Date: Thu, 8 Sep 2011 12:58:31 +0000 (+0000) Subject: Matitaweb: changes to file selection dialog box. X-Git-Tag: make_still_working~2305 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=aec6af4406694eccfa7bba95a1e775c0a21f4f2c;p=helm.git Matitaweb: changes to file selection dialog box. --- diff --git a/matitaB/matita/treeview/xmlTree.js b/matitaB/matita/treeview/xmlTree.js index c3210adc3..9c25b4136 100644 --- a/matitaB/matita/treeview/xmlTree.js +++ b/matitaB/matita/treeview/xmlTree.js @@ -13,7 +13,7 @@ function showBranch(branch,path){ objBranch.display="block"; swapFolder('I' + branch); // codice per mostrare il path nella casella di testo - dialogFilename.value = path; + selectFile(path); } function swapFolder(img){ @@ -23,3 +23,7 @@ function swapFolder(img){ else objImg.src = closedImg.src; } + +function selectFile(path) { + dialogFilename.value = path; +}