/[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 22 by dpavlin, Sat Apr 18 14:18:48 2009 UTC revision 23 by dpavlin, Sat Apr 18 23:14:41 2009 UTC
# Line 86  $(document).ready( function() { Line 86  $(document).ready( function() {
86                          .removeClass('changed')                          .removeClass('changed')
87                          .attr('disabled', 1);                          .attr('disabled', 1);
88    
89                  $.get('', { lookup_col: column }, function(data,textStatus) {                  var where_parts = [];
90                    $('input[name=where_parts]').each(function(){ if (this.checked) where_parts.push(this.value) });
91                    var args = {
92                            lookup_col: column,
93                            where_parts: where_parts,
94                    };
95                    console.debug( 'get', args );
96                    $.get('', args, function(data,textStatus) {
97                          console.debug( data, textStatus );                          console.debug( data, textStatus );
98                          l.addClass('changed');                          l.addClass('changed');
99                          l.html( data );                          l.html( data );

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

  ViewVC Help
Powered by ViewVC 1.1.26