Module: nagvis
Branch: nagvis-1.4
Commit: bd67673371b834c5d0efe71bd3fec47f39d0039b
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=bd67673371b834c5d0efe71bd3fec47f39d0039b

Author: Lars Michelsen <[email protected]>
Date:   Wed Sep  2 18:08:42 2009 +0200

#93 Changed validation for textbox width: Only auto or unsigned integer allowed

---

 nagvis/nagvis/includes/defines/matches.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/nagvis/nagvis/includes/defines/matches.php 
b/nagvis/nagvis/includes/defines/matches.php
index ca0b78d..178d7d1 100644
--- a/nagvis/nagvis/includes/defines/matches.php
+++ b/nagvis/nagvis/includes/defines/matches.php
@@ -54,5 +54,5 @@ define('MATCH_HTML_TEMPLATE_FILE', '/^tmpl\.(.+)\.html$/i');
 define('MATCH_PHP_FILE', '/^(.+\.php)$/i');
 define('MATCH_INTEGER_PRESIGN', '/^[\+\-]?[0-9]+$/');
 define('MATCH_ORDER', '/^(?:asc|desc)$/');
-define('MATCH_TEXTBOX_WIDTH', '/^(\-?[0-9]+|auto)$/');
+define('MATCH_TEXTBOX_WIDTH', '/^([0-9]+|auto)$/');
 ?>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to