Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: chrome/browser/resources/print_preview/print_preview.js

Issue 7721001: PrintPreview: Make ctrl-shift-p start the native print flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/print_preview/print_preview.js
diff --git a/chrome/browser/resources/print_preview/print_preview.js b/chrome/browser/resources/print_preview/print_preview.js
index 0231ace521274cdd26e63edf2e225b88d8fd9595..6f95188bbd766b34070ace4c83682de61a88d083 100644
--- a/chrome/browser/resources/print_preview/print_preview.js
+++ b/chrome/browser/resources/print_preview/print_preview.js
@@ -140,6 +140,8 @@ function disableInputElementsInSidebar() {
* backend to open the native print dialog.
*/
function onSystemDialogLinkClicked() {
+ if (showingSystemDialog)
+ return;
showingSystemDialog = true;
disableInputElementsInSidebar();
$('system-dialog-throbber').classList.remove('hidden');

Powered by Google App Engine
This is Rietveld 408576698