| Index: chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js
|
| diff --git a/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js b/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js
|
| index 105039c3bc05e3ea463d544c1a02f40503e32a3b..1eebf826293651a382b3cf55f4f0ba777c5bd993 100644
|
| --- a/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js
|
| +++ b/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js
|
| @@ -363,7 +363,8 @@ Polymer({
|
| /** Opens the Add printer discovery dialog. */
|
| open: function() {
|
| this.resetData_();
|
| - this.switchDialog_('', AddPrinterDialogs.DISCOVERY, 'showDiscoveryDialog_');
|
| + this.switchDialog_(
|
| + '', AddPrinterDialogs.MANUALLY, 'showManuallyAddDialog_');
|
| },
|
|
|
| /**
|
| @@ -435,10 +436,7 @@ Polymer({
|
|
|
| /** @private */
|
| configuringDialogClosed_: function() {
|
| - if (this.previousDialog_ == AddPrinterDialogs.DISCOVERY) {
|
| - this.switchDialog_(
|
| - this.currentDialog_, this.previousDialog_, 'showDiscoveryDialog_');
|
| - } else if (this.previousDialog_ == AddPrinterDialogs.MANUALLY) {
|
| + if (this.previousDialog_ == AddPrinterDialogs.MANUALLY) {
|
| this.switchDialog_(
|
| this.currentDialog_, this.previousDialog_, 'showManuallyAddDialog_');
|
| } else if (this.previousDialog_ == AddPrinterDialogs.MANUFACTURER) {
|
|
|