/[webpac2]/Webpacus/root/js/search.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /Webpacus/root/js/search.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 529 by dpavlin, Mon May 1 16:22:49 2006 UTC revision 530 by dpavlin, Mon May 22 22:11:26 2006 UTC
# Line 355  function save_search( attr, val ) { Line 355  function save_search( attr, val ) {
355    
356          var el = document.createElement('input');          var el = document.createElement('input');
357          el.setAttribute('type', 'text');          el.setAttribute('type', 'text');
358          el.setAttribute('disabled', 'true');          // disabled fields are not submitted
359            //el.setAttribute('disabled', 'true');
360          el.setAttribute('name', attr);          el.setAttribute('name', attr);
361          el.setAttribute('id', '_attr_'+attr+'_id');          el.setAttribute('id', '_attr_'+attr+'_id');
362          el.setAttribute('size', val.length < 60 ? 60: val.length);          el.setAttribute('size', val.length < 60 ? 60: val.length);

Legend:
Removed from v.529  
changed lines
  Added in v.530

  ViewVC Help
Powered by ViewVC 1.1.26