aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-06 14:15:40 -0800
committerfriendica <info@friendica.com>2012-12-06 14:15:40 -0800
commit7d1610197d7eaf5c97d34ebbe777a0a475da38de (patch)
tree68d332f942efc11528b5041b5bcfae0a89d850a7
parent4603fde9044b09a76dee9167fb312a597974ba59 (diff)
downloadvolse-hubzilla-7d1610197d7eaf5c97d34ebbe777a0a475da38de.tar.gz
volse-hubzilla-7d1610197d7eaf5c97d34ebbe777a0a475da38de.tar.bz2
volse-hubzilla-7d1610197d7eaf5c97d34ebbe777a0a475da38de.zip
move autosubmit up a level where it will actually work
-rw-r--r--include/nav.php2
-rw-r--r--view/js/mod_connections.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php
index eacb0f29a..7db053741 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -23,7 +23,7 @@ function nav(&$a) {
minChars: 2,
width: 250,
});
- a.setOptions({ params: { autoSubmit: true, type: 'x' }});
+ a.setOptions({ autoSubmit: true, params: { type: 'x' }});
});
diff --git a/view/js/mod_connections.js b/view/js/mod_connections.js
index b7352d336..6a7f2eaed 100644
--- a/view/js/mod_connections.js
+++ b/view/js/mod_connections.js
@@ -5,7 +5,7 @@ $(document).ready(function() {
minChars: 2,
width: 350,
});
- a.setOptions({ params: { autoSubmit: true, type: 'a' }});
+ a.setOptions({ autoSubmit: true, params: { type: 'a' }});
});