document jquery-ui
[mkws-moved-to-github.git] / tools / htdocs / mkws.js
index 2332894..aeb3ad3 100644 (file)
@@ -310,7 +310,7 @@ function loadSelect ()
 // limit the query after clicking the facet
 function limitQuery (field, value)
 {
-    document.mkwsSearchForm.query.value += ' and ' + field + '="' + value + '"';
+    document.mkwsSearchForm.mkwsQuery.value += ' and ' + field + '="' + value + '"';
     onFormSubmitEventHandler();
 }
 
@@ -930,6 +930,10 @@ function init_popup(obj) {
 
     debug("popup height: " + height + ", width: " + width);
 
+    /* 
+     * make sure that jquery-ui was loaded afte jQuery core lib
+     * http://code.jquery.com/ui/1.10.3/jquery-ui.min.js"
+     */
     $(id_popup).dialog({
       closeOnEscape: true,
       autoOpen: false,