some cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2015-12-09 02:28:38 +03:00
parent 490d45c489
commit 89869f12c4
2 changed files with 9 additions and 5 deletions

View File

@ -207,12 +207,12 @@ requirejs(['../keyboard', '../object', './browse'], function(k, o, br){
'option 2', 'option 2',
'option 3', 'option 3',
'option 4', 'option 4',
'option 5/moo', 'option 5',
'option 6', 'option 6',
'option 7', 'option 7',
], ],
path: 'option 5/moo', path: 'option 5',
fullPathEdit: false, fullPathEdit: false,
traversable: false, traversable: false,

View File

@ -4088,6 +4088,9 @@ var URLHistoryUIActions = actions.Actions({
// ...possibly connected with restoring after .preventClosing(..) // ...possibly connected with restoring after .preventClosing(..)
// XXX need to highlight/select current... // XXX need to highlight/select current...
// XXX need to check items... // XXX need to check items...
// XXX add buttons:
// - remove item... (&times;)
// - bring to top...
listURLHistory: ['File/History', listURLHistory: ['File/History',
function(){ function(){
var that = this var that = this
@ -4121,6 +4124,7 @@ var URLHistoryUIActions = actions.Actions({
cur && o.client cur && o.client
.select(cur) .select(cur)
.addClass('highlighted') .addClass('highlighted')
o.client.filter('*')
}], }],
}) })
@ -4457,7 +4461,7 @@ module.FileSystemWriter = ImageGridFeatures.Feature({
function(_, target){ function(_, target){
var changes = this.changes = var changes = this.changes =
this.hasOwnProperty('changes') ? this.hasOwnProperty('changes') ?
this.changes this.changes || {}
: {} : {}
changes.data = true changes.data = true
@ -4473,7 +4477,7 @@ module.FileSystemWriter = ImageGridFeatures.Feature({
function(_, target){ function(_, target){
var changes = this.changes = var changes = this.changes =
this.hasOwnProperty('changes') ? this.hasOwnProperty('changes') ?
this.changes this.changes || {}
: {} : {}
var images = changes.images = changes.images || [] var images = changes.images = changes.images || []
target = this.data.getImage(target) target = this.data.getImage(target)
@ -4487,7 +4491,7 @@ module.FileSystemWriter = ImageGridFeatures.Feature({
function(_, tags, gids){ function(_, tags, gids){
var changes = this.changes = var changes = this.changes =
this.hasOwnProperty('changes') ? this.hasOwnProperty('changes') ?
this.changes this.changes || {}
: {} : {}
var images = changes.images = changes.images || [] var images = changes.images = changes.images || []