mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
started refactorng the ui dialogs/containers to the new framework (experimental)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
774fcf0413
commit
a25a5d2228
@ -399,7 +399,7 @@ var URLHistoryUIActions = actions.Actions({
|
||||
// XXX make availabilyty checking live (now on open dialog)...
|
||||
// XXX need to check items...
|
||||
// XXX use svg icons for buttons...
|
||||
listURLHistory: ['History|File/Show history',
|
||||
listURLHistory: ['History|File/Show history...',
|
||||
widgets.makeUIDialog(function(){
|
||||
var that = this
|
||||
var parent = this.preventClosing ? this.preventClosing() : null
|
||||
@ -492,9 +492,11 @@ var URLHistoryUIActions = actions.Actions({
|
||||
*/
|
||||
|
||||
// select and highlight current path...
|
||||
cur && o
|
||||
.select('"'+ cur +'"')
|
||||
.addClass('highlighted')
|
||||
setTimeout(function(){
|
||||
cur && o
|
||||
.select('"'+ cur +'"')
|
||||
.addClass('highlighted')
|
||||
}, 0)
|
||||
|
||||
return o
|
||||
})],
|
||||
|
||||
@ -81,6 +81,8 @@ function(list, item, elem, callback, options){
|
||||
//
|
||||
// XXX add sort buttons: up/down/top/bottom...
|
||||
// XXX make this more generic...
|
||||
// XXX currently using this also requires the use of makeUIDialog(..),
|
||||
// can this be simpler???
|
||||
var makeConfigListEditor =
|
||||
module.makeConfigListEditor =
|
||||
function(actions, list_key, options){
|
||||
@ -233,6 +235,8 @@ function(actions, list_key, options){
|
||||
|
||||
|
||||
// XXX should this be more generic...
|
||||
// XXX currently using this also requires the use of makeUIDialog(..),
|
||||
// can this be simpler???
|
||||
var makeNestedConfigListEditor =
|
||||
module.makeNestedConfigListEditor =
|
||||
function(actions, parent, list_key, value_key, options){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user