forked from 0x2620/pandora
update document context browser
This commit is contained in:
parent
e4316c9b44
commit
b1a570ae42
1 changed files with 3 additions and 0 deletions
|
@ -69,6 +69,9 @@ pandora.ui.documentBrowser = function() {
|
||||||
},
|
},
|
||||||
toggle: function(data) {
|
toggle: function(data) {
|
||||||
pandora.UI.set({showBrowser: !data.collapsed});
|
pandora.UI.set({showBrowser: !data.collapsed});
|
||||||
|
},
|
||||||
|
pandora_document: function(data) {
|
||||||
|
that.options({selected: [data.value]});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.bindEventOnce({
|
.bindEventOnce({
|
||||||
|
|
Loading…
Reference in a new issue