From: Wilmer Ricciotti Date: Thu, 8 Sep 2011 12:47:37 +0000 (+0000) Subject: Matitaweb: changes in file selection dialog box. X-Git-Tag: make_still_working~2307 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=f12c76e8d705aa44da328461874532e87c7fc57a;p=helm.git Matitaweb: changes in file selection dialog box. --- diff --git a/matitaB/matita/treeview/xmlTree.js b/matitaB/matita/treeview/xmlTree.js index 0f3547bad..c3210adc3 100644 --- a/matitaB/matita/treeview/xmlTree.js +++ b/matitaB/matita/treeview/xmlTree.js @@ -3,6 +3,8 @@ openImg.src = "treeview/open.gif"; var closedImg = new Image(); closedImg.src = "treeview/closed.gif"; +var diaFilename = document.getElementById("dialogFilename"); + function showBranch(branch,path){ var objBranch = document.getElementById(branch).style; if(objBranch.display=="block") @@ -11,6 +13,7 @@ function showBranch(branch,path){ objBranch.display="block"; swapFolder('I' + branch); // codice per mostrare il path nella casella di testo + dialogFilename.value = path; } function swapFolder(img){