mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-30 10:50:08 +00:00
re-fixed a bug in browse path quoting...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
07fde6e4ac
commit
4d6e889ca4
@ -1816,7 +1816,7 @@ var BrowserPrototype = {
|
|||||||
|
|
||||||
//path.push(quoteWS(elem.find('.text').text()))
|
//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() +'"')
|
path.push(elem.find('.text').text())
|
||||||
|
|
||||||
var res = this.open(path)
|
var res = this.open(path)
|
||||||
|
|
||||||
@ -1939,10 +1939,10 @@ var BrowserPrototype = {
|
|||||||
path = this.path2list(path)
|
path = this.path2list(path)
|
||||||
var elem = path.slice(-1)[0]
|
var elem = path.slice(-1)[0]
|
||||||
this.path = path.slice(0, -1)
|
this.path = path.slice(0, -1)
|
||||||
elem = this.select(elem)
|
elem = this.select('"'+ elem +'"')
|
||||||
|
|
||||||
// select-compatible -- select from current context...
|
// 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 {
|
} else {
|
||||||
elem = this.select(path)
|
elem = this.select(path)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user