Tweak to prevent workflow output indicator icon from getting out of sync. And repack.

This commit is contained in:
Dannon Baker
2010-09-10 12:14:30 -04:00
parent e629c020d2
commit 5a28632683
2 changed files with 8 additions and 1 deletions
@@ -355,6 +355,11 @@ $.extend( Node.prototype, {
});
callout.show();
r.append(callout);
if ($.inArray(output.name, node.workflow_outputs) == -1){
callout.find('img').attr('src', image_path + '/fugue/asterisk-small-outline.png');
}else{
callout.find('img').attr('src', image_path + '/fugue/asterisk-small.png');
}
r.bind( "hover", function() {
callout.find('img').attr('src', image_path + '/fugue/asterisk-small-yellow.png');
});
@@ -362,6 +367,8 @@ $.extend( Node.prototype, {
callout.find('img').attr('src', image_path + '/fugue/asterisk-small.png');
if ($.inArray(output.name, node.workflow_outputs) == -1){
callout.find('img').attr('src', image_path + '/fugue/asterisk-small-outline.png');
}else{
callout.find('img').attr('src', image_path + '/fugue/asterisk-small.png');
}
});
}
File diff suppressed because one or more lines are too long