From 9b6ec922c6e683f3df9bd83c4f220c423dcd9a21 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 25 Oct 2017 13:44:13 +0300 Subject: [PATCH] [PE] Fix Bug 36135, Fix Bug 36121. --- apps/presentationeditor/main/app/view/SlideSizeSettings.js | 5 +++++ apps/presentationeditor/main/app/view/SlideshowSettings.js | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/apps/presentationeditor/main/app/view/SlideSizeSettings.js b/apps/presentationeditor/main/app/view/SlideSizeSettings.js index 77ec2b563..74ad4ef1c 100644 --- a/apps/presentationeditor/main/app/view/SlideSizeSettings.js +++ b/apps/presentationeditor/main/app/view/SlideSizeSettings.js @@ -224,6 +224,11 @@ define([ } }, + onPrimary: function() { + this._handleInput('ok'); + return false; + }, + setSettings: function (type, pagewitdh, pageheight) { this.spnWidth.setValue(Common.Utils.Metric.fnRecalcFromMM(pagewitdh), true); this.spnHeight.setValue(Common.Utils.Metric.fnRecalcFromMM(pageheight), true); diff --git a/apps/presentationeditor/main/app/view/SlideshowSettings.js b/apps/presentationeditor/main/app/view/SlideshowSettings.js index 41bc3ef22..d2827f2f4 100644 --- a/apps/presentationeditor/main/app/view/SlideshowSettings.js +++ b/apps/presentationeditor/main/app/view/SlideshowSettings.js @@ -107,6 +107,11 @@ define([ } }, + onPrimary: function() { + this._handleInput('ok'); + return false; + }, + setSettings: function (loop) { this.chLoop.setValue(loop); },