diff --git a/dashboard-ui/components/imagedownloader/imagedownloader.js b/dashboard-ui/components/imagedownloader/imagedownloader.js index 95ae7ff20..a66b7f364 100644 --- a/dashboard-ui/components/imagedownloader/imagedownloader.js +++ b/dashboard-ui/components/imagedownloader/imagedownloader.js @@ -6,7 +6,7 @@ var hasChanges = false; // These images can be large and we're seeing memory problems in safari - var browsableImagePageSize = $.browser.safari ? 6 : 12; + var browsableImagePageSize = $.browser.safari ? 6 : 10; var browsableImageStartIndex = 0; var browsableImageType = 'Primary'; @@ -275,10 +275,13 @@ dlg.setAttribute('role', 'alertdialog'); // without this safari will scroll the background instead of the dialog contents dlg.setAttribute('modal', 'modal'); + // seeing max call stack size exceeded in the debugger with this + dlg.setAttribute('noAutoFocus', 'noAutoFocus'); dlg.entryAnimation = 'scale-up-animation'; dlg.exitAnimation = 'fade-out-animation'; dlg.classList.add('fullscreen-editor-paper-dialog'); dlg.classList.add('ui-body-b'); + dlg.classList.add('smoothScrollY'); var html = ''; html += '