Chromium Code Reviews| 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 d97e93bd526bea01795afe316b1875f942fcf82c..f1a38cdb89cb3e466e287df0e9fe5273066f1aeb 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 |
| @@ -135,7 +135,7 @@ Polymer({ |
| printerName: '', |
| printerPPDPath: '', |
| printerProtocol: 'ipp', |
| - printerQueue: 'ipp/print', |
| + printerQueue: '', |
| printerStatus: '', |
| }; |
| }, |
| @@ -155,6 +155,10 @@ Polymer({ |
| /** @private */ |
| switchToManufacturerDialog_: function() { |
| + // Set the default printer queue to be "ipp/print". |
| + if (!this.newPrinter.printerQueue) |
| + this.newPrinter.printerQueue = "ipp/print"; |
|
michaelpg
2017/05/04 22:30:10
here and elsewhere, why does this work? Normally P
xdai1
2017/05/05 00:45:37
I think the root reason is it means I don't fully
michaelpg
2017/05/05 19:10:46
It's black magic, none of us do :-)
But generally
michaelpg
2017/05/05 20:45:49
Replying to your message:
|
| + |
| this.$$('add-printer-dialog').close(); |
| this.fire('open-manufacturer-model-dialog'); |
| }, |