diff --git a/apps/documenteditor/main/app/template/ParagraphSettings.template b/apps/documenteditor/main/app/template/ParagraphSettings.template index e3d618193..644f6e5bc 100644 --- a/apps/documenteditor/main/app/template/ParagraphSettings.template +++ b/apps/documenteditor/main/app/template/ParagraphSettings.template @@ -54,5 +54,4 @@ -
\ No newline at end of file diff --git a/apps/documenteditor/main/app/view/ParagraphSettings.js b/apps/documenteditor/main/app/view/ParagraphSettings.js index 0437a5d19..60f1d58ac 100644 --- a/apps/documenteditor/main/app/view/ParagraphSettings.js +++ b/apps/documenteditor/main/app/view/ParagraphSettings.js @@ -48,8 +48,7 @@ define([ 'common/main/lib/component/CheckBox', 'common/main/lib/component/ThemeColorPalette', 'common/main/lib/component/ColorButton', - 'documenteditor/main/app/view/ParagraphSettingsAdvanced', - 'common/main/lib/view/Calendar' + 'documenteditor/main/app/view/ParagraphSettingsAdvanced' ], function (menuTemplate, $, _, Backbone) { 'use strict'; @@ -183,22 +182,6 @@ define([ this.TextOnlySettings = $('.text-only', this.$el); - // begin calendar - - var me = this; - this.btnCalendar = new Common.UI.Button({ - caption: this.textCalendar, - style: "width:100px;" - }); - this.btnCalendar.render( $('#calendar')); - this.btnCalendar.on('click', _.bind(function (e) { - var popover = Common.Views.Calendar.prototype.getCalendarPopover({}); - popover.showCalendarPopover(); - popover.setLeftTop(300, 300); - }, this)); - - // end calendar - this.rendered = true; }, @@ -516,7 +499,6 @@ define([ textAt: 'At', txtAutoText: 'Auto', textBackColor: 'Background color', - textNewColor: 'Add New Custom Color', - textCalendar: 'Calendar' + textNewColor: 'Add New Custom Color' }, DE.Views.ParagraphSettings || {})); }); \ No newline at end of file