Integrated hint alerts in the main frame
diff --git a/dev/demo/all.html b/dev/demo/all.html
index a01fcc3..67c50fd 100644
--- a/dev/demo/all.html
+++ b/dev/demo/all.html
@@ -27,6 +27,7 @@
placeholder="Find ..."
name="q"
id="q-field"
+ value="abcdefghijklmnopqrstuvwxyz"
autofocus="autofocus" />
<button type="submit"><span>Go</span></button>
<!-- <i class="fa fa-arrow-circle-down show-hint" onclick="hint.popUp()"></i> -->
@@ -85,7 +86,7 @@
</div>
<script>
- KorAP.koralQuery = {"matches":["..."],"query":{"wrap":{"layer":"orth","match":"match:eq","foundry":"opennlp","key":"Goethe","@type":"koral:term"},"@type":"koral:token"},"meta":{"serialQuery":"tokens:s:Goethe","startIndex":0,"version":"unknown","itemsPerPage":25,"context":"p","benchmark":"0.103553092 s","totalResults":-1}};
+ KorAP.koralQuery = {"matches":["..."],"errors":[[302,"Parantheses\/brackets unbalanced.","20"]],"query":{"wrap":{"layer":"orth","match":"match:eq","foundry":"opennlp","key":"Goethe","@type":"koral:term"},"@type":"koral:token"},"meta":{"serialQuery":"tokens:s:Goethe","startIndex":0,"version":"unknown","itemsPerPage":25,"context":"p","benchmark":"0.103553092 s","totalResults":-1}};
</script>
<div id="search">
diff --git a/dev/demo/hintdemo.js b/dev/demo/hintdemo.js
index fd80b43..3eb38cc 100644
--- a/dev/demo/hintdemo.js
+++ b/dev/demo/hintdemo.js
@@ -16,5 +16,5 @@
function demoAlert (pos, msg) {
if (hint !== undefined)
- hint.charAlert(pos, msg);
+ hint.alert(pos, msg);
}