/[meteor]/trunk/public_html/koha.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 /trunk/public_html/koha.js

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

revision 84 by dpavlin, Sun Mar 29 17:48:11 2009 UTC revision 85 by dpavlin, Sun Mar 29 17:53:31 2009 UTC
# Line 14  function read_tag( id ) { Line 14  function read_tag( id ) {
14          var item = $('#item'+id);          var item = $('#item'+id);
15    
16          if ( item.length > 0 ) {          if ( item.length > 0 ) {
17                  console.error('element', id, 'allready exists', item);                  console.warn('element', id, 'allready exists', item);
18                  item.addClass('in_range');                  item.addClass('in_range');
19          } else {          } else {
20                  var tabindex = update_selected(+1) + 1;                  var tabindex = update_selected(+1) + 1;
# Line 42  function read_tag( id ) { Line 42  function read_tag( id ) {
42                                  });                                  });
43                          },                          },
44                          error: function (XMLHttpRequest, textStatus, errorThrown) {                          error: function (XMLHttpRequest, textStatus, errorThrown) {
45                                    console.error( textStatus );
46                                  item.replace('Error loading: ' + testStatus);                                  item.replace('Error loading: ' + testStatus);
47                                  item.removeClass('loading');                                  item.removeClass('loading');
48                          }                          }

Legend:
Removed from v.84  
changed lines
  Added in v.85

  ViewVC Help
Powered by ViewVC 1.1.26