Author: david
Date: Fri Oct 15 11:47:04 2010
New Revision: 8158
Log:
Ignore null values. Fixes issue #1771.
Modified:
trunk/js/dialog.js
Modified: trunk/js/dialog.js
==============================================================================
--- trunk/js/dialog.js Fri Oct 15 10:43:59 2010 (r8157)
+++ trunk/js/dialog.js Fri Oct 15 11:47:04 2010 (r8158)
@@ -350,6 +350,12 @@
{
// Set dialog field
var thisTable = this.table;
+
+ if (null == thisData[fieldname])
+ {
+ continue;
+ }
+
this.fields[fieldname].value = thisData[fieldname];
// Get display value for autocompletes
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.