-
section_browse.msn
391 392 188 188 % $doc = $keeper->get_document_by_id( $document->$attr, %opts ); 189 189 % } 190 190 <td><input type="hidden" name="<% 'update_'.$document->id.'_'.$attr %>" id="<% 'update_'.$document->id.'_'.$attr %>" value="<% $document->$attr || '' %>"> 191 <input type="text" class="<% 'autocomplete_'.$attr %>" id="<% 'autocomplete_'.$document->id.'_'.$attr %>" value="<% ref $doc ? $doc->name : defined $document->$attr ? '['.$document->$attr.']' : '' %>" 192 rel="<% 'update_'.$document->id.'_'.$attr %>" style="<% $col->{inline_width} ? 'width:'.$col->{inline_width}.'px;' : '' %> <% $col->{inline_style} || '' %>"> 191 <input type="text" class="<% 'autocomplete_'.$attr %>" id="<% 'autocomplete_'.$document->id.'_'.$attr %>" value="<% ref $doc ? $doc->name : '' %>" 192 title="<% defined $document->$attr ? 'Значение: '.$document->$attr : '' %>" 193 rel="<% 'update_'.$document->id.'_'.$attr %>" style="<% $col->{inline_width} ? 'width:'.$col->{inline_width}.'px;' : '' %> <% $col->{inline_style} || '' %>" 194 old-value="<% ref $doc ? $doc->name : '' %>" onfocus="if ( )" onblur=""> 193 195 % } elsif ($col->{type} eq 'lookup') { 194 196 % my %opts = %{ $col->{lookup_opts} }; 195 197 % delete $opts{search_by} if exists $opts{search_by};