rem: this.savePageData(oldTag); 
add: this.savePageData(oldTag); 
context:       switchPage:        function() {          var PanelTree = document.getElementById("panelTree");          var selectedItem = PanelTree.selectedItems[0];          var oldURL = document.getElementById(this.contentFrame).getAttribute("src");          var oldTag = document.getElementById(this.contentFrame).getAttribute("tag");          this.savePageData(oldTag);      // save data from the current page.           var newURL = selectedItem.firstChild.firstChild.getAttribute("url");          var newTag = selectedItem.firstChild.firstChild.getAttribute("tag");          if (newURL != oldURL || newTag != oldTag) {            document.getElementById(this.contentFrame).setAttribute("src", newURL);            document.getElementById(this.contentFrame).setAttribute("tag", newTag);          }        },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b2dd2b2d2fd037df917e07645fa019a963332a5/WalletViewer.js/buggy/extensions/wallet/editor/resources/content/WalletViewer.js