fixed a bug in browse...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-02-08 03:45:48 +03:00
parent de8375ad45
commit ddb0c821ef
2 changed files with 4 additions and 1 deletions

View File

@ -2603,6 +2603,7 @@ var ImageStateIndicatorActions = actions.Actions({
// do the call... // do the call...
if(handler != null){ if(handler != null){
// XXX simplify the constructors... (into one?)
handler.call(that, elem, makeInfoItem, makeExpandingInfoItem) handler.call(that, elem, makeInfoItem, makeExpandingInfoItem)
} }
} }

View File

@ -1757,6 +1757,8 @@ var BrowserPrototype = {
var path = this.path var path = this.path
//var txt = quoteWS(elem.find('.text').text()) //var txt = quoteWS(elem.find('.text').text())
//var txt = '"'+ elem.find('.text').text() +'"' //var txt = '"'+ elem.find('.text').text() +'"'
// XXX do we need qotes here???
//path.push('"'+ elem.find('.text').text() +'"')
path.push(elem.find('.text').text()) path.push(elem.find('.text').text())
// XXX should this be before or after the actual path update??? // XXX should this be before or after the actual path update???
@ -1816,7 +1818,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)