From c0f9342899f39335a42b05b60576f4afd25df1d7 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 23 Jan 2017 20:58:24 +0300 Subject: [PATCH] minor fixes... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/filesystem.js | 4 +--- ui (gen4)/lib/widget/browse.js | 5 +++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ui (gen4)/features/filesystem.js b/ui (gen4)/features/filesystem.js index 50c8c757..8f78c35f 100755 --- a/ui (gen4)/features/filesystem.js +++ b/ui (gen4)/features/filesystem.js @@ -697,8 +697,6 @@ var FileSystemLoaderActions = actions.Actions({ direction = direction || 'below' - console.log('>>>>', direction) - logger = logger || this.logger logger = logger && logger.push('Load images to ribbon') @@ -1007,7 +1005,7 @@ var FileSystemLoaderUIActions = actions.Actions({ a.doc : that.getDocTitle(a.action)] = function(){ - return that[a.action].apply(that, a.arguments) } + return that[a.action].apply(that, args) } // non-actions... } else { diff --git a/ui (gen4)/lib/widget/browse.js b/ui (gen4)/lib/widget/browse.js index 7c2ef20c..2ad81517 100755 --- a/ui (gen4)/lib/widget/browse.js +++ b/ui (gen4)/lib/widget/browse.js @@ -1709,7 +1709,7 @@ var BrowserPrototype = { : that.options.actionButton) .click(function(evt){ evt.stopPropagation() - that.select('"'+ txt +'"') + that.select(res) that.action() })) } @@ -1722,7 +1722,8 @@ var BrowserPrototype = { : that.options.pushButton) .click(function(evt){ evt.stopPropagation() - that.push('"'+ txt +'"') + //that.push('"'+ txt +'"') + that.push(res) })) }