minor fixes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-01-23 20:58:24 +03:00
parent 08492cbf35
commit c0f9342899
2 changed files with 4 additions and 5 deletions

View File

@ -697,8 +697,6 @@ var FileSystemLoaderActions = actions.Actions({
direction = direction || 'below' direction = direction || 'below'
console.log('>>>>', direction)
logger = logger || this.logger logger = logger || this.logger
logger = logger && logger.push('Load images to ribbon') logger = logger && logger.push('Load images to ribbon')
@ -1007,7 +1005,7 @@ var FileSystemLoaderUIActions = actions.Actions({
a.doc a.doc
: that.getDocTitle(a.action)] = : that.getDocTitle(a.action)] =
function(){ function(){
return that[a.action].apply(that, a.arguments) } return that[a.action].apply(that, args) }
// non-actions... // non-actions...
} else { } else {

View File

@ -1709,7 +1709,7 @@ var BrowserPrototype = {
: that.options.actionButton) : that.options.actionButton)
.click(function(evt){ .click(function(evt){
evt.stopPropagation() evt.stopPropagation()
that.select('"'+ txt +'"') that.select(res)
that.action() that.action()
})) }))
} }
@ -1722,7 +1722,8 @@ var BrowserPrototype = {
: that.options.pushButton) : that.options.pushButton)
.click(function(evt){ .click(function(evt){
evt.stopPropagation() evt.stopPropagation()
that.push('"'+ txt +'"') //that.push('"'+ txt +'"')
that.push(res)
})) }))
} }