summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/www/replicator.html1
-rw-r--r--share/www/script/jquery.suggest.js4
2 files changed, 4 insertions, 1 deletions
diff --git a/share/www/replicator.html b/share/www/replicator.html
index 32ad52cd..e5442a02 100644
--- a/share/www/replicator.html
+++ b/share/www/replicator.html
@@ -42,7 +42,6 @@ specific language governing permissions and limitations under the License.
});
});
-
$.couch.allDbs({
success: function(dbs) {
$("fieldset select").each(function() {
diff --git a/share/www/script/jquery.suggest.js b/share/www/script/jquery.suggest.js
index 4bb8b2d0..bc0dfbf8 100644
--- a/share/www/script/jquery.suggest.js
+++ b/share/www/script/jquery.suggest.js
@@ -27,9 +27,13 @@
input
.blur(function() {
+ if (timer) clearTimeout(timer);
setTimeout(function() { dropdown.hide() }, 200);
})
.keydown(function(e) {
+ if ($.inArray(e.keyCode, [16, 17, 18, 20, 144, 91, 93, 224]) != -1) {
+ return; // ignore modifier keys
+ }
if (timer) clearTimeout(timer);
if ($.inArray(e.keyCode, [38, 40]) != -1 ||
(dropdown.is(":visible") && (e.keyCode == 27 ||