From 7d1610197d7eaf5c97d34ebbe777a0a475da38de Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 6 Dec 2012 14:15:40 -0800 Subject: move autosubmit up a level where it will actually work --- include/nav.php | 2 +- view/js/mod_connections.js | 2 +- 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' }}); }); -- cgit v1.2.3