We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 2522bbfe authored by tobyink's avatar tobyink

Fix

parent b123fad5
......@@ -27,9 +27,9 @@ function unrecognised ( msg )
return 0;
}
function doit ()
function LocationCheck ()
{
if ( !$('#loc').val() )
if ( !$('#location').val() )
{
return unrecognised("You must enter a location.");
}
......@@ -54,7 +54,7 @@ function doit ()
}
$.getJSON("/location-ws.php",
{ 'q' : $('#loc').val() },
{ 'q' : $('#location').val() },
function (data, status)
{
$('#loading').hide();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment