mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
* Pass 'key' object to actions & submit form events
This commit is contained in:
parent
08bebb560d
commit
6d49e5e55f
5 changed files with 56 additions and 14 deletions
|
@ -108,7 +108,7 @@ function MultiLineEditTextView(options) {
|
|||
//
|
||||
this.tabWidth = _.isNumber(options.tabWidth) ? options.tabWidth : 4;
|
||||
|
||||
this.textLines = [];
|
||||
this.textLines = [ ];
|
||||
this.topVisibleIndex = 0;
|
||||
this.mode = options.mode || 'edit'; // edit | preview | read-only
|
||||
|
||||
|
@ -1013,6 +1013,8 @@ function MultiLineEditTextView(options) {
|
|||
self.overtypeMode = !self.overtypeMode;
|
||||
self.emit('text edit mode', self.getTextEditMode());
|
||||
};
|
||||
|
||||
this.insertRawText(''); // init to blank/empty
|
||||
}
|
||||
|
||||
require('util').inherits(MultiLineEditTextView, View);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue