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

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: '' 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 124a56790677e65d78d7968b17f39a5753e6c42f..4da2e748b09e2c9e3f28820b9dd524442ad5e224 100644
--- a/chrome/browser/resources/print_preview/print_preview.js
+++ b/chrome/browser/resources/print_preview/print_preview.js
@@ -135,6 +135,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