|
@ -198,7 +198,7 @@ class Upload extends InputWidget |
|
|
success: function(data) |
|
|
success: function(data) |
|
|
{ |
|
|
{ |
|
|
var imageval = $('#{$this->fillInId}').val(); |
|
|
var imageval = $('#{$this->fillInId}').val(); |
|
|
if(imageval == ''){ |
|
|
|
|
|
|
|
|
if(imageval == '' || imageval == 0){ |
|
|
$('#{$this->fillInId}').val(data); |
|
|
$('#{$this->fillInId}').val(data); |
|
|
}else{ |
|
|
}else{ |
|
|
$('#{$this->fillInId}').val($('#{$this->fillInId}').val()+','+data); |
|
|
$('#{$this->fillInId}').val($('#{$this->fillInId}').val()+','+data); |
|
|