diff --git a/ui/lib/editor.js b/ui/lib/editor.js
index 938bd78b..41491c44 100755
--- a/ui/lib/editor.js
+++ b/ui/lib/editor.js
@@ -247,7 +247,7 @@ function makeLogRange(text, filter, target){
function makeFilterPanel(parent, target){
- return makeSubPanel('Filters', true, parent)
+ return makeSubPanel('Edit: Filters', true, parent)
.find('.sub-panel-content')
.append($('
')
//.append(makeLogRange('Gamma:', 'gamma', target))
@@ -285,7 +285,7 @@ function makeFilterPanel(parent, target){
}
function makeSnapshotsPanel(parent, target){
- return makeSubPanel('Snapshots', true, parent)
+ return makeSubPanel('Edit: Snapshots', true, parent)
.find('.sub-panel-content')
.append($(''))
.append($('
'))
diff --git a/ui/setup.js b/ui/setup.js
index dc028a49..00320cb6 100755
--- a/ui/setup.js
+++ b/ui/setup.js
@@ -102,7 +102,7 @@ function setupDataBindings(viewer){
// NOTE: this can return null in certain cases (see docs)
var gid_before = getGIDBefore(gid, r)
// we'll set the image to the first if the align target is
- // before it...
+ // before it (i.e. gid_before is null)...
var img_before = gid_before == null
? ribbon.find('.image').first()
: getImageBefore(image, ribbon)
diff --git a/ui/tags.js b/ui/tags.js
index 1b26d267..3efbe06f 100755
--- a/ui/tags.js
+++ b/ui/tags.js
@@ -192,12 +192,16 @@ function selectByTags(tags, tagset){
function getTags(gid){
+ // XXX should we do any more checking here?
+ return IMAGES[gid].tags
}
+/*
// XXX don't remember the semantics...
function getRelatedTags(){
}
+*/