forked from 0x2620/pandora
only use current search if its inside a layer
This commit is contained in:
parent
ae2e3e45c6
commit
85095eda44
2 changed files with 9 additions and 1 deletions
|
|
@ -1439,6 +1439,14 @@ pandora.getFoldersWidth = function(section) {
|
|||
return width;
|
||||
};
|
||||
|
||||
pandora.getFindLayer = function() {
|
||||
var key = pandora.user.ui._findState.key
|
||||
if (!!Ox.getObjectById(pandora.site.layers, key)) {
|
||||
key = 'all'
|
||||
}
|
||||
return key
|
||||
};
|
||||
|
||||
pandora.getHash = function(state, callback) {
|
||||
// FIXME: remove this
|
||||
var embedKeys = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue