processor = function(xml)
{
if (is_defined(xml)) {
+ current_fname = thefile;
lockedbackup = ""
locked.innerHTML = lockedbackup;
// code originally used in google chrome (problems with mozilla)
}
};
dialogBox.style.display = "none";
- current_fname = thefile;
callServer("open",processor,"file=" + escape(thefile));
}
// when force is true, reloadDialog is not needed
}
processor = function(xml) {
+ current_fname = fname;
if (is_defined(xml)) {
if (xml.childNodes[0].textContent != "ok") {
if (confirm("File already exists. All existing data will be lost.\nDo you want to proceed anyway?")) {
abortDialog();
dirname = prompt("New directory name:\ncic:/matita/","newdir");
if (dirname != null) {
- if (dirname.substr(0,1) != "/")
- dirname = "/" + dirname;
processor = function(xml) {
if (is_defined(xml)) {
if (xml.childNodes[0].textContent != "ok") {