diff options
author | Dave Whiteland <dave@mysociety.org> | 2012-07-05 14:01:06 +0100 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2012-07-05 14:03:37 +0100 |
commit | 6a854216db8d9e8e8e66b97527ce49496abb8b88 (patch) | |
tree | de9ee3510a25c2819128d269c867cc3070d3d9f0 | |
parent | ef860b1a29b408cbe6014af8202824addcdacdd4 (diff) |
Call /messages/available on load (and remove spurious extra div)
-rw-r--r-- | templates/web/fixmybarangay/around/tabbed_lists.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/fixmybarangay/around/tabbed_lists.html b/templates/web/fixmybarangay/around/tabbed_lists.html index 6365b28e0..6a358475a 100644 --- a/templates/web/fixmybarangay/around/tabbed_lists.html +++ b/templates/web/fixmybarangay/around/tabbed_lists.html @@ -36,9 +36,9 @@ IF allow_creation %] </li> <li> <div id="mm-message-list" style="min-height:1em;"></div> - </div> </li> </ul> + <script type="text/javascript"> $(document).ready(function() { @@ -69,7 +69,7 @@ $(document).ready(function() { message_manager.get_available_messages({callback:mm_populate_list}); }); - // submit available-submit on page load if we have a username + $('#available-submit').click(); /* $('#assign-fms-submit').click(function() { |