minor tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-12-10 05:37:00 +04:00
parent 80ac4b03e1
commit f4613dc662
3 changed files with 7 additions and 3 deletions

View File

@ -247,7 +247,7 @@ function makeLogRange(text, filter, target){
function makeFilterPanel(parent, target){ function makeFilterPanel(parent, target){
return makeSubPanel('Filters', true, parent) return makeSubPanel('Edit: Filters', true, parent)
.find('.sub-panel-content') .find('.sub-panel-content')
.append($('<div class="filter-list"/>') .append($('<div class="filter-list"/>')
//.append(makeLogRange('Gamma:', 'gamma', target)) //.append(makeLogRange('Gamma:', 'gamma', target))
@ -285,7 +285,7 @@ function makeFilterPanel(parent, target){
} }
function makeSnapshotsPanel(parent, target){ function makeSnapshotsPanel(parent, target){
return makeSubPanel('Snapshots', true, parent) return makeSubPanel('Edit: Snapshots', true, parent)
.find('.sub-panel-content') .find('.sub-panel-content')
.append($('<div class="states"/>')) .append($('<div class="states"/>'))
.append($('<hr>')) .append($('<hr>'))

View File

@ -102,7 +102,7 @@ function setupDataBindings(viewer){
// NOTE: this can return null in certain cases (see docs) // NOTE: this can return null in certain cases (see docs)
var gid_before = getGIDBefore(gid, r) var gid_before = getGIDBefore(gid, r)
// we'll set the image to the first if the align target is // 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 var img_before = gid_before == null
? ribbon.find('.image').first() ? ribbon.find('.image').first()
: getImageBefore(image, ribbon) : getImageBefore(image, ribbon)

View File

@ -192,12 +192,16 @@ function selectByTags(tags, tagset){
function getTags(gid){ function getTags(gid){
// XXX should we do any more checking here?
return IMAGES[gid].tags
} }
/*
// XXX don't remember the semantics... // XXX don't remember the semantics...
function getRelatedTags(){ function getRelatedTags(){
} }
*/