Skip to content

Commit

Permalink
correct hidden test
Browse files Browse the repository at this point in the history
  • Loading branch information
leifj committed Mar 19, 2016
1 parent a5bed7a commit cbc04e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions examples/ndn.fd
Expand Up @@ -31,7 +31,6 @@
- emit application/xml
- break
- when accept application/json:
- xslt:
stylesheet: discojson.xsl
- discojson
- emit application/json:
- break
4 changes: 2 additions & 2 deletions src/pyff/site/static/js/pyff.js
Expand Up @@ -225,7 +225,7 @@ $(document).ready(function() {
this.filter('select').each(function() {
var seldiv = $(this);
var uri = seldiv.attr('data-target');
seldiv.html($('<option>').attr('value','').append($('<em>').append(seldiv.attr('title'))))
seldiv.html($('<option>').attr('value','').append($('<em>').append(seldiv.attr('title'))));
oboe(uri).start(function () {
$("#thelist").addClass("disabled").addClass("loading");
}).node('!.*',function (elt) {
Expand Down Expand Up @@ -304,7 +304,7 @@ $(document).ready(function() {
var i = lst.length;
while (i--) {
with_entity_id(lst[i], function (elt) { /* success */
if (! elt.hidden) {
if (typeof elt.hidden === 'undefined' || elt.hidden.toLowerCase() === "false") {
elt.sticky = false;
div.prepend(idp_template.render(elt));
seen[elt.entityID] = true
Expand Down

0 comments on commit cbc04e0

Please sign in to comment.