Mercurial > public > sg101
comparison media/js/membermap.js @ 133:c515b7401078
Use the new common way to apply markItUp to textareas and to get the smiley and markdown help dialogs for all the remaining apps except for forums and comments.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 27 Nov 2009 00:21:47 +0000 |
parents | dbd703f7d63a |
children | b43e1288ff80 |
comparison
equal
deleted
inserted
replaced
132:06503edcc56b | 133:c515b7401078 |
---|---|
28 'the information if you wish. To delete yourself from the map, click the Delete button.', | 28 'the information if you wish. To delete yourself from the map, click the Delete button.', |
29 offMapDir: 'Your location is not on the map. If you would like to appear on the map, please fill out the form below ' + | 29 offMapDir: 'Your location is not on the map. If you would like to appear on the map, please fill out the form below ' + |
30 'and click the Submit button.' | 30 'and click the Submit button.' |
31 }; | 31 }; |
32 $(document).ready(function() { | 32 $(document).ready(function() { |
33 $('#id_message').markItUp(mySettings); | |
34 if (GBrowserIsCompatible()) | 33 if (GBrowserIsCompatible()) |
35 { | 34 { |
36 $(window).unload(GUnload); | 35 $(window).unload(GUnload); |
37 mmap.map = new GMap2($('#member_map_map')[0]); | 36 mmap.map = new GMap2($('#member_map_map')[0]); |
38 mmap.map.setCenter(new GLatLng(15.0, -30.0), 2); | 37 mmap.map.setCenter(new GLatLng(15.0, -30.0), 2); |