[Vtigercrm-commits] [vtiger-commits] r10056 - in /vtigercrm/branches/5.0.3/include: js/dtlviewajax.js utils/DetailViewUtils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sat Jan 13 07:59:05 EST 2007


Author: richie
Date: Sat Jan 13 05:59:00 2007
New Revision: 10056

Log:
* For all checkboxes, if unchecked 'no' will be shown instead of shown as empty, Fixes #2818

Modified:
    vtigercrm/branches/5.0.3/include/js/dtlviewajax.js
    vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php

Modified: vtigercrm/branches/5.0.3/include/js/dtlviewajax.js
==============================================================================
--- vtigercrm/branches/5.0.3/include/js/dtlviewajax.js (original)
+++ vtigercrm/branches/5.0.3/include/js/dtlviewajax.js Sat Jan 13 05:59:00 2007
@@ -247,7 +247,7 @@
 			getObj(dtlView).innerHTML = "yes";
 		}else
 		{
-			getObj(dtlView).innerHTML = "";
+			getObj(dtlView).innerHTML = "no";
 		}
 
 	}else if(uitype == 116)

Modified: vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php Sat Jan 13 05:59:00 2007
@@ -338,7 +338,7 @@
 		}
 		else
 		{
-			$display_val = '';
+			$display_val = 'no';
 		}
 		$label_fld[] = $display_val;
 	}





More information about the vtigercrm-commits mailing list