Skip to content

Commit

Permalink
A bit of tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
Neale Upstone committed Feb 12, 2012
1 parent dc8c5bc commit 9725564
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sample-webapp/src/main/webapp/WEB-INF/includes/js-init.jsp
@@ -1,7 +1,7 @@
<script type="text/javascript">
function success(position) {
var s = document.querySelector('#postcode');
s.value = "{" + position.coords.latitude +"," + position.coords.longitude + "}"
s.value = "{" + position.coords.latitude +"," + position.coords.longitude + "}";
// alert( "you're at: " + position.coords.latitude +"," + position.coords.longitude );
};
Expand Down
Expand Up @@ -5,6 +5,7 @@

<form:form action="search" method="post" >

<div id="location" style="display:none">Location: Near you</div>
<fieldset data-role="controlgroup" data-type="horizontal">
<mobile:edit-input attrName="postcode" popupHelp="Where? (Try the first part of a UK postcode e.g. SE1)" />
</fieldset>
Expand Down

0 comments on commit 9725564

Please sign in to comment.