Set empty value after loading options, if there's an empty/all label

This commit is contained in:
Nathan Gray 2012-05-08 17:43:13 +00:00
parent debcd059bc
commit 79d3e78f30

View File

@ -482,7 +482,7 @@ var et2_selectbox = et2_inputWidget.extend({
} }
} }
// Sometimes value gets set before options // Sometimes value gets set before options
if(this.value) this.set_value(this.value); if(this.value || this.options.empty_label) this.set_value(this.value);
}, },
getValue: function() { getValue: function() {