OSDN Git Service

fix geolocation form handling
authorishikawa <ishikawa@180c8125-5b33-4295-ad04-72a68a15b4cc>
Fri, 16 Apr 2010 13:13:40 +0000 (13:13 +0000)
committerishikawa <ishikawa@180c8125-5b33-4295-ad04-72a68a15b4cc>
Fri, 16 Apr 2010 13:13:40 +0000 (13:13 +0000)
lib/public/geopost-keitairc.js

index 8eff7be..610e706 100644 (file)
@@ -1,6 +1,6 @@
 /*
  -*- mode: javascript; coding: utf-8 -*-
- $Id: geopost-keitairc.js,v 1.8 2010-04-16 13:08:36 ishikawa Exp $
+ $Id: geopost-keitairc.js,v 1.9 2010-04-16 13:13:40 ishikawa Exp $
 
  Copyright (c) 2009 ISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
  This program is covered by the GNU General Public License 2
@@ -70,7 +70,7 @@ function location_submit(form, type) {
        }
 
        if (form.m.value.length) {
-               document.lp.submit();
+               form.submit();
        } else {
                return false ;
        }