B2G/gecko/browser/components/places/content/places.js
/**
   * Called when a menuitem is selected from the restore menu.
   */
Called when a menuitem is selected from the restore menu.
Called when a menuitem is selected from the restore menu .
function PO_onRestoreMenuItemClick(aMenuItem) {
    let backupName = aMenuItem.getAttribute("value");
    let backupFiles = PlacesUtils.backups.entries;
    for (let i = 0; i < backupFiles.length; i++) {
      if (backupFiles[i].leafName == backupName) {
        this.restoreBookmarksFromFile(backupFiles[i]);
        break;
      }
    }
  }
function PO_onRestoreMenuItemClick ( aMenuItem ) { let backupName = aMenuItem . getAttribute ( "value" ) ; let backupFiles = PlacesUtils . backups . entries ; for ( let i = 0 ; i < backupFiles . length ; i ++ ) { if ( backupFiles [ i ] . leafName == backupName ) { this . restoreBookmarksFromFile ( backupFiles [ i ] ) ; break ; } } }
Called when a menuitem is selected from the restore menu.
Called when a menuitem is selected from the restore menu .