[Vtigercrm-commits] [vtiger-commits] r10598 - in /vtigercrm/branches/5.0.3: Smarty/templates/DetailViewUI.tpl include/js/general.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Apr 9 08:36:59 EDT 2007
Author: richie
Date: Mon Apr 9 06:36:51 2007
New Revision: 10598
Log:
* Fixed the issue in validation with empty space, ex. PO billing address can be given as wmpty, Fixed #3525
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/DetailViewUI.tpl
vtigercrm/branches/5.0.3/include/js/general.js
Modified: vtigercrm/branches/5.0.3/Smarty/templates/DetailViewUI.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/DetailViewUI.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/DetailViewUI.tpl Mon Apr 9 06:36:51 2007
@@ -244,7 +244,7 @@
{else}
<span id="assign_team" style="display: none;">
{/if}
- <select id="txtbox_G{$label}" onchange="setSelectValue('{$label}')" name="{$keyfldname}" class="groupname">
+ <select id="txtbox_G{$label}" onchange="setSelectValue('{$label}')" name="assigned_group_name" class="groupname">
{foreach item=arr key=id from=$keyoptions.2}
{foreach key=sel_value item=value from=$arr}
<option value="{$id}" {$value}>{$sel_value}</option>
Modified: vtigercrm/branches/5.0.3/include/js/general.js
==============================================================================
--- vtigercrm/branches/5.0.3/include/js/general.js (original)
+++ vtigercrm/branches/5.0.3/include/js/general.js Mon Apr 9 06:36:51 2007
@@ -223,7 +223,7 @@
return true
} else {
- if (currObj.value == "" ) {
+ if (trim(currObj.value) == '') {
alert(fldLabel+alert_arr.CANNOT_BE_NONE)
More information about the vtigercrm-commits
mailing list