From 4d6e889ca40d52615d12e17ea91bb3229faa5237 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 10 Feb 2016 20:13:09 +0300 Subject: [PATCH] re-fixed a bug in browse path quoting... Signed-off-by: Alex A. Naanou --- ui (gen4)/lib/widget/browse.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui (gen4)/lib/widget/browse.js b/ui (gen4)/lib/widget/browse.js index ae8d9244..5524673d 100755 --- a/ui (gen4)/lib/widget/browse.js +++ b/ui (gen4)/lib/widget/browse.js @@ -1816,7 +1816,7 @@ var BrowserPrototype = { //path.push(quoteWS(elem.find('.text').text())) //path.push('"'+ elem.find('.text').text() +'"') - path.push('"'+ elem.find('.text').text() +'"') + path.push(elem.find('.text').text()) var res = this.open(path) @@ -1939,10 +1939,10 @@ var BrowserPrototype = { path = this.path2list(path) var elem = path.slice(-1)[0] this.path = path.slice(0, -1) - elem = this.select(elem) + elem = this.select('"'+ elem +'"') // select-compatible -- select from current context... - // XXX this is semilar to the first branch, should we merge them??? + // XXX this is similar to the first branch, should we merge them??? } else { elem = this.select(path)