select: if value not found text = ""

This commit is contained in:
vitalets 2012-11-16 11:30:48 +04:00
parent 7b334888e5
commit 5033155a0e

@ -52,7 +52,7 @@ $(function(){
value2html: function (value, element) {
var deferred = $.Deferred();
this.onSourceReady(function () {
var i, text = null;
var i, text = '';
if($.isArray(this.sourceData)) {
for(i=0; i<this.sourceData.length; i++){
/*jshint eqeqeq: false*/