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:
Alex A. Naanou 2016-04-30 03:43:27 +03:00
parent 774fcf0413
commit a25a5d2228
2 changed files with 10 additions and 4 deletions

View File

@ -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
})],

View File

@ -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){