minor fix + docs...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-01-17 21:48:31 +03:00
parent 0924383bcd
commit b2044eb7a1
3 changed files with 9 additions and 1 deletions

View File

@ -579,6 +579,7 @@ var KeyboardActions = actions.Actions({
// NOTE: care must be taken when using or binding to this (especially // NOTE: care must be taken when using or binding to this (especially
// the .pre stage) as this may introduce a lag into user input. // the .pre stage) as this may introduce a lag into user input.
keyPress: ['- Interface/Handle key or keyboard event', keyPress: ['- Interface/Handle key or keyboard event',
{ keepDialogTitle: true },
function(key, no_match){ function(key, no_match){
var that = this var that = this
var did_handling = false var did_handling = false

View File

@ -579,7 +579,8 @@ module.Dialogs = core.ImageGridFeatures.Feature({
var elem = res.dom var elem = res.dom
!elem.attr('keep-dialog-title') !elem.attr('keep-dialog-title')
elem.attr('dialog-title', this.getDocTitle(action)) && !this.getActionAttr(action, 'keepDialogTitle')
&& elem.attr('dialog-title', this.getDocTitle(action))
} }
}], }],
], ],

View File

@ -2784,6 +2784,12 @@ var BrowserPrototype = {
} }
// load the initial state... // load the initial state...
//
// NOTE: this used to be run in the timeout below, it turned out
// to be a really bad idea mainly because the events bound
// in .list(..) turned out to be bound AFTER the events bound
// in the function that called the constructor, which messed
// up the triggering order...
that.update(options.path || that.path || '/') that.update(options.path || that.path || '/')
// Select the default path... // Select the default path...