From cacb5e4d4ac71477a582eb0f086576c097941842 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 27 Oct 2017 11:52:56 +0300 Subject: [PATCH] [PE] Don't disable prev-next buttons for slide demonstration. --- apps/presentationeditor/main/app/view/DocumentPreview.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/presentationeditor/main/app/view/DocumentPreview.js b/apps/presentationeditor/main/app/view/DocumentPreview.js index c948a37bd..f91dd33de 100644 --- a/apps/presentationeditor/main/app/view/DocumentPreview.js +++ b/apps/presentationeditor/main/app/view/DocumentPreview.js @@ -344,8 +344,6 @@ define([ var count = this.api.getCountPages(); if (count !== this.pages.get('count')) this.pages.set('count', count); - this.btnPrev.setDisabled(slideNum<=0); - this.btnNext.setDisabled(slideNum>=count-1); this.txtGoToPage.setValue(slideNum + 1); this.txtGoToPage.checkValidate(); }