diff --git a/ui (gen4)/features/exif.js b/ui (gen4)/features/exif.js index faa10c9d..fbc26e42 100755 --- a/ui (gen4)/features/exif.js +++ b/ui (gen4)/features/exif.js @@ -73,6 +73,7 @@ var EXIFActions = actions.Actions({ // XXX take image exif and write it to target... setExif: ['- Image/Set exif data', function(image, target){ + // XXX }] }) @@ -111,7 +112,34 @@ module.EXIF = core.ImageGridFeatures.Feature({ // // ...need to think about this... +// XXX this should basically be platform independent... +var EXIFUIActions = actions.Actions({ + showExif: ['Image/Show exif', + function(image, force){ + image = this.data.getImage(image) + var exif = !force + && this.images[image].metadata + || this.getExif(image, force) + + // XXX + }] +}) + // XXX +var EXIFUI = +module.EXIFUI = core.ImageGridFeatures.Feature({ + title: '', + doc: '', + + tag: 'ui-exif', + depends: [ + 'ui', + 'exif', + ], + + actions: EXIFUIActions, +}) + /********************************************************************** diff --git a/ui (gen4)/features/filesystem.js b/ui (gen4)/features/filesystem.js index e65f71fa..95815216 100755 --- a/ui (gen4)/features/filesystem.js +++ b/ui (gen4)/features/filesystem.js @@ -29,7 +29,7 @@ var core = require('features/core') var overlay = require('lib/widget/overlay') var browse = require('lib/widget/browse') -var browseWalk = requirejs('lib/widget/browse-walk') +var browseWalk = require('lib/widget/browse-walk') diff --git a/ui (gen4)/lib/widget/browse.js b/ui (gen4)/lib/widget/browse.js index 47181a25..f082ead0 100755 --- a/ui (gen4)/lib/widget/browse.js +++ b/ui (gen4)/lib/widget/browse.js @@ -766,6 +766,7 @@ var BrowserPrototype = { return $() } + // build list item... var res = $('