[fusion-commits] r2462 - trunk/widgets/Redline
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Sun Nov 20 23:47:51 EST 2011
Author: liuar
Date: 2011-11-20 20:47:51 -0800 (Sun, 20 Nov 2011)
New Revision: 2462
Modified:
trunk/widgets/Redline/editmarkup.php
Log:
supplemental fix for ticket #483
Modified: trunk/widgets/Redline/editmarkup.php
===================================================================
--- trunk/widgets/Redline/editmarkup.php 2011-11-18 09:29:13 UTC (rev 2461)
+++ trunk/widgets/Redline/editmarkup.php 2011-11-21 04:47:51 UTC (rev 2462)
@@ -89,6 +89,7 @@
?>
<html>
<head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title><?=$editLocal?></title>
<link rel="stylesheet" href="Redline.css" type="text/css">
<script language="javascript" src="../../layers/MapGuide/MapGuideViewerApi.js"></script>
@@ -210,12 +211,7 @@
function OnPolyonDigitized(polygon)
{
- if(polygon.Count < 3)
- { // clear invalid polygon
- ClearDigitization();
- return;
- }
- PromptAndSetMarkupText();
+ PromptAndSetMarkupText();
var geomText = polygon.Count;
for (var i = 0; i < polygon.Count; i++)
@@ -230,7 +226,7 @@
}
function SelectMarkup()
- {
+ {
markupFeatures = document.getElementById("markupFeatures");
reqParams = "MAPNAME=" + encodeURIComponent(mapName);
More information about the fusion-commits
mailing list