mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-12-21 10:41:39 +00:00
experimenting with dir listing approaches...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e16e41c7e1
commit
543edd493c
@ -86,8 +86,8 @@ var WidgetPrototype = {
|
||||
|
||||
|
||||
// XXX this will not:
|
||||
// - attach dom to parent...
|
||||
// - handle focus...
|
||||
// - attach dom to parent... (???)
|
||||
// - handle focus... (???)
|
||||
// XXX same as ContainerPrototype.__init__ but skips client...
|
||||
__init__: function(parent, options){
|
||||
var that = this
|
||||
@ -105,6 +105,13 @@ var WidgetPrototype = {
|
||||
this.dom = this.constructor.make(options)
|
||||
}
|
||||
|
||||
// XXX do we do this here???
|
||||
/*
|
||||
if(parent && this.dom){
|
||||
parent.append(this.dom)
|
||||
}
|
||||
*/
|
||||
|
||||
// add keyboard handler...
|
||||
if(this.keyboard && this.dom){
|
||||
this.dom.keydown(
|
||||
|
||||
@ -2302,13 +2302,13 @@ var ActionTreeActions = actions.Actions({
|
||||
})],
|
||||
|
||||
// XXX this is just a test...
|
||||
embededListerTest: ['Interface/Lister test (embeded)/*',
|
||||
embededListerTest: ['Interface|Test/Lister test (embeded)/*',
|
||||
function(path, make){
|
||||
make('a/')
|
||||
make('b/')
|
||||
make('c/')
|
||||
}],
|
||||
floatingListerTest: ['Interface/Lister test (floating)...',
|
||||
floatingListerTest: ['Interface|Test/Lister test (floating)...',
|
||||
function(path){
|
||||
var parent = this.preventClosing ? this.preventClosing() : null
|
||||
|
||||
@ -2350,7 +2350,7 @@ var ActionTreeActions = actions.Actions({
|
||||
})
|
||||
}],
|
||||
// XXX make this nw only...
|
||||
pathListerTest: ['Interface/Path lister test (floating)...',
|
||||
pathListerTest: ['Interface|Test/Path lister test (floating)...',
|
||||
function(path){
|
||||
var parent = this.preventClosing ? this.preventClosing() : null
|
||||
|
||||
@ -2380,7 +2380,7 @@ var ActionTreeActions = actions.Actions({
|
||||
&& parent.focus()
|
||||
})
|
||||
}],
|
||||
drawerTest:['Interface/Drawer widget test',
|
||||
drawerTest:['Interface|Test/Drawer widget test',
|
||||
function(){
|
||||
drawer.Drawer($('body'),
|
||||
$('<div>')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user