move autosubmit up a level where it will actually work

This commit is contained in:
friendica 2012-12-06 14:15:40 -08:00
parent 4603fde904
commit 7d1610197d
2 changed files with 2 additions and 2 deletions

View File

@ -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' }});
});

View File

@ -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' }});
});