File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
browser/main/modals/PreferencesModal Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,9 @@ class HotkeyTab extends React.Component {
82
82
deleteNote : this . refs . deleteNote . value ,
83
83
pasteSmartly : this . refs . pasteSmartly . value ,
84
84
prettifyMarkdown : this . refs . prettifyMarkdown . value ,
85
- toggleMenuBar : this . refs . toggleMenuBar . value
85
+ toggleMenuBar : this . refs . toggleMenuBar . value ,
86
+ insertDate : this . refs . insertDate . value ,
87
+ insertDateTime : this . refs . insertDateTime . value
86
88
} )
87
89
this . setState ( {
88
90
config
@@ -188,6 +190,7 @@ class HotkeyTab extends React.Component {
188
190
< div styleName = 'group-section-label' > { i18n . __ ( 'Insert Current Date' ) } </ div >
189
191
< div styleName = 'group-section-control' >
190
192
< input styleName = 'group-section-control-input'
193
+ ref = 'insertDate'
191
194
value = { config . hotkey . insertDate }
192
195
type = 'text'
193
196
disabled = 'true'
@@ -198,6 +201,7 @@ class HotkeyTab extends React.Component {
198
201
< div styleName = 'group-section-label' > { i18n . __ ( 'Insert Current Date and Time' ) } </ div >
199
202
< div styleName = 'group-section-control' >
200
203
< input styleName = 'group-section-control-input'
204
+ ref = 'insertDateTime'
201
205
value = { config . hotkey . insertDateTime }
202
206
type = 'text'
203
207
disabled = 'true'
You can’t perform that action at this time.
0 commit comments