Make sure read-only selectbox does not return a value

This commit is contained in:
Nathan Gray 2012-04-25 15:41:19 +00:00
parent f4d3027192
commit 8f488553c0

View File

@ -540,6 +540,13 @@ var et2_selectbox_ro = et2_selectbox.extend([et2_IDetachedDOM], {
} }
}, },
/**
* Override parent to return null - no value, not node value
*/
getValue: function() {
return null;
},
/** /**
* Functions for et2_IDetachedDOM * Functions for et2_IDetachedDOM
*/ */