Changeset 2815

Show
Ignore:
Timestamp:
11/22/07 18:25:09 (1 year ago)
Author:
eblot
Message:

RevtreePlugin: Fix up a nasty bug w/ AJAX.

The AJAX popup now works with most browsers:

(firefox, flock, opera, camino, opera, omniweb, safari, webkit, ...)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • revtreeplugin/0.11/revtree/htdocs/js/svgtip.js

    r2294 r2815  
    113113  // wtih innerHTML, as load() does not work for some reason (why?)   
    114114  // cannot use $.get(), need to go with $.ajax() 
    115   $.ajax({async: true, type: "GET", dataType: 'html',  
     115  $.ajax({async: true, type: "GET", dataType: 'text',  
    116116          url: logurl, success: updateJT}); 
    117117} 
    118118 
    119119function updateJT(data) { 
    120   // cannot use innerHTML with jQuery 
     120  // cannot use innerHTML with jQuery ($('#JT_copy').innerHTML) 
    121121  var copy = document.getElementById('JT_copy'); 
    122122  // why innerHTML work with application/xhtml+xml doctype here? 
  • revtreeplugin/0.11/setup.py

    r2564 r2815  
    1616 
    1717PACKAGE = 'TracRevtreePlugin' 
    18 VERSION = '0.5.9
     18VERSION = '0.5.10
    1919 
    2020setup (