Revert "[DE] Calendar (add button for test)"
This reverts commit 2b16b4fef2
.
This commit is contained in:
parent
29354cd116
commit
6d2ecb38fe
|
@ -54,5 +54,4 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="finish-cell"></tr>
|
<tr class="finish-cell"></tr>
|
||||||
<tr><div id="calendar"></div></tr>
|
|
||||||
</table>
|
</table>
|
|
@ -48,8 +48,7 @@ define([
|
||||||
'common/main/lib/component/CheckBox',
|
'common/main/lib/component/CheckBox',
|
||||||
'common/main/lib/component/ThemeColorPalette',
|
'common/main/lib/component/ThemeColorPalette',
|
||||||
'common/main/lib/component/ColorButton',
|
'common/main/lib/component/ColorButton',
|
||||||
'documenteditor/main/app/view/ParagraphSettingsAdvanced',
|
'documenteditor/main/app/view/ParagraphSettingsAdvanced'
|
||||||
'common/main/lib/view/Calendar'
|
|
||||||
], function (menuTemplate, $, _, Backbone) {
|
], function (menuTemplate, $, _, Backbone) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
@ -183,22 +182,6 @@ define([
|
||||||
|
|
||||||
this.TextOnlySettings = $('.text-only', this.$el);
|
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;
|
this.rendered = true;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -516,7 +499,6 @@ define([
|
||||||
textAt: 'At',
|
textAt: 'At',
|
||||||
txtAutoText: 'Auto',
|
txtAutoText: 'Auto',
|
||||||
textBackColor: 'Background color',
|
textBackColor: 'Background color',
|
||||||
textNewColor: 'Add New Custom Color',
|
textNewColor: 'Add New Custom Color'
|
||||||
textCalendar: 'Calendar'
|
|
||||||
}, DE.Views.ParagraphSettings || {}));
|
}, DE.Views.ParagraphSettings || {}));
|
||||||
});
|
});
|
Loading…
Reference in a new issue