Mercurial > code > home > repos > homeauto
changeset 239:3f355dd1687c
case check error
Ignore-this: 7d175ad43bbf538c1ba32e6ee0b64e2d
author | drewp@bigasterisk.com |
---|---|
date | Mon, 01 Feb 2016 03:09:08 -0800 |
parents | 7a9836d51b0e |
children | 0c306e76d8c5 |
files | service/reasoning/index.html |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/service/reasoning/index.html Mon Feb 01 02:54:30 2016 -0800 +++ b/service/reasoning/index.html Mon Feb 01 03:09:08 2016 -0800 @@ -95,7 +95,8 @@ var p = BigastUri.compactUri(stmt[1]); var o = BigastUri.compactUri(stmt[2]); - if (q.toLowerCase() && + q = q.toLowerCase() + if (q && s.toLowerCase().indexOf(q) == -1 && p.toLowerCase().indexOf(q) == -1 && o.toLowerCase().indexOf(q) == -1) { @@ -114,11 +115,11 @@ } function updateIn() { -$.get("lastInputGraph", makeAddStmts($("#input"), $("#inputQ").val())); + $.get("lastInputGraph", makeAddStmts($("#input"), $("#inputQ").val())); } function updateOut() { -$.get("lastOutputGraph", makeAddStmts($("#output"), $("#outputQ").val())); - } + $.get("lastOutputGraph", makeAddStmts($("#output"), $("#outputQ").val())); + } function update() { updateIn();