Develop and Download Open Source Software

Browse Subversion Repository

Diff of /SvgEditor.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 32 by isao-hara, Fri Jul 23 01:39:08 2010 UTC revision 33 by isao-hara, Sun Jul 25 08:01:54 2010 UTC
# Line 89  function initEditor(name, dispname, size Line 89  function initEditor(name, dispname, size
89      preview.addEventListener("gesturechange", onGestureChange, false);      preview.addEventListener("gesturechange", onGestureChange, false);
90      preview.addEventListener("gestureend", onGestureEnd, false);      preview.addEventListener("gestureend", onGestureEnd, false);
91    }    }
92      restoreValues();
93  }  }
94    
95  function restoreValues(){  function restoreValues(){
# Line 105  function clearAll(){ Line 106  function clearAll(){
106  }  }
107    
108  function saveChanges(){  function saveChanges(){
109    localStorage.getItem('MgrPath') = MgrPath;    localStorage.setItem('MgrPath', MgrPath);
110  }  }
111    
112  // initialize a database  // initialize a database
# Line 550  function createMenuBar(){ Line 551  function createMenuBar(){
551  function setConfig(){  function setConfig(){
552    var ele = document.getElementById('ServerURL');    var ele = document.getElementById('ServerURL');
553    MgrPath=ele.value;    MgrPath=ele.value;
554      saveChanges();
555    alert("Done");    alert("Done");
556  }  }
557    

Legend:
Removed from v.32  
changed lines
  Added in v.33

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26