correctly set find state when loading '/'
This commit is contained in:
parent
8dedbd1bae
commit
746efb3110
6 changed files with 27 additions and 15 deletions
|
|
@ -78,7 +78,9 @@ pandora.ui.group = function(id) {
|
|||
pandora.$ui.list.triggerEvent('paste', data);
|
||||
},
|
||||
select: function(data) {
|
||||
// FIXME: cant index be an empty array, instead of -1?
|
||||
// fixme: cant index be an empty array, instead of -1?
|
||||
// FIXME: this is still incorrect when deselecting a group item
|
||||
// makes a selected item in another group disappear
|
||||
var conditions = data.ids.map(function(value) {
|
||||
return {
|
||||
key: id,
|
||||
|
|
|
|||
|
|
@ -390,14 +390,7 @@ pandora.ui.infoView = function(data) {
|
|||
}).join(', ');
|
||||
}
|
||||
|
||||
$text.find('a').click(function(event) {
|
||||
if (event.target.hostname == document.location.hostname) {
|
||||
pandora.URL.push(event.target.pathname);
|
||||
} else {
|
||||
document.location.href = '/url=' + encodeURIComponent(event.target.href);
|
||||
}
|
||||
return false;
|
||||
});
|
||||
pandora.createLinks($text);
|
||||
|
||||
function renderList() {
|
||||
pandora.api.get({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue