Rename results div to "#mkwsResults"
authorMike Taylor <mike@indexdata.com>
Mon, 1 Jul 2013 21:08:23 +0000 (22:08 +0100)
committerMike Taylor <mike@indexdata.com>
Mon, 1 Jul 2013 21:08:23 +0000 (22:08 +0100)
experiments/spclient/html-structure.txt
experiments/spclient/mkws.js

index 7bca45b..d1959d0 100644 (file)
@@ -34,7 +34,7 @@ identifier and .CLASS indicates an instance of a class.
               select#perpage
           #mkwsPager
           div#navi
-          div#results
+          #mkwsResults
             div.record*
               span (for sequence number)
               a (for title)
index 023247b..56e3298 100644 (file)
@@ -121,7 +121,7 @@ function my_onshow(data) {
                      + data.total + ')</div>';
     drawPager(pager);
     // navi
-    var results = document.getElementById("results");
+    var results = document.getElementById("mkwsResults");
 
     var html = [];
     for (var i = 0; i < data.hits.length; i++) {
@@ -557,7 +557,7 @@ function mkws_html_all(config) {
             </div>\
             <div id="mkwsPager"></div>\
             <div id="navi"></div>\
-            <div id="results"></div>\
+            <div id="mkwsResults"></div>\
           </td>\
         </tr>\
       </table>');