/[sql-web-session]/sql-editor.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 /sql-editor.js

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

revision 23 by dpavlin, Sat Apr 18 23:14:41 2009 UTC revision 28 by dpavlin, Sun Apr 19 00:02:11 2009 UTC
# Line 78  $(document).ready( function() { Line 78  $(document).ready( function() {
78                  var col_nr = $('form#sql select[name=where_column]').attr('options').selectedIndex;                  var col_nr = $('form#sql select[name=where_column]').attr('options').selectedIndex;
79                  var operator = $('select[name=where_operator]').attr('options').selectedIndex;                  var operator = $('select[name=where_operator]').attr('options').selectedIndex;
80    
81                  l.html('...loading lookup for '+column+'...').css('display','block');                  l.html('...loading lookup for '+column+'...').css('display','block').scrollTop(0);
82    
83                  console.debug( this, e, column, col_nr, l );                  console.debug( this, e, column, col_nr, l );
84    
# Line 89  $(document).ready( function() { Line 89  $(document).ready( function() {
89                  var where_parts = [];                  var where_parts = [];
90                  $('input[name=where_parts]').each(function(){ if (this.checked) where_parts.push(this.value) });                  $('input[name=where_parts]').each(function(){ if (this.checked) where_parts.push(this.value) });
91                  var args = {                  var args = {
92                            table: $('input[name=from]').val(),
93                          lookup_col: column,                          lookup_col: column,
94                          where_parts: where_parts,                          where_parts: where_parts,
95                  };                  };

Legend:
Removed from v.23  
changed lines
  Added in v.28

  ViewVC Help
Powered by ViewVC 1.1.26