Changeset 107 for trunk/web-app/js


Ignore:
Timestamp:
Jan 22, 2010, 6:37:01 PM (13 years ago)
Author:
duh
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web-app/js/wizard.js

    r105 r107  
    1818        // http://code.google.com/p/fbug/issues/detail?id=1899
    1919        var wizard = $('div#wizard')
    20         wizard.html('<span style="color:red;font-size:8px;">You are using firefox 3.6, note that firefox 3.6 in combination with firebug (latest 1.6X.0a3) and XMLHttpRequest enabled in the console, break the workings of this wizard... Either disable console XMLHttpRequests, disable firebug altogether or downgrade to Firefox 3.5.7 instead</span>' + wizard.html())
     20        wizard.html('<span style="color:red;font-size:8px;">Firefox 3.6 contains <a href="http://code.google.com/p/fbug/issues/detail?id=2746" target="_new">a bug</a> in combination with Firebug\'s XMLHttpRequest spy which causes the wizard to not function anymore. Please make sure you have firebug\'s XMLHttpRequest spy disabled use use Firefox 3.5.7 instead...</span>' + wizard.html())
    2121    }
    2222
     
    2828function attachHelpTooltips() {
    2929    // attach help action on all wizard help icons
    30     $('div#wizard').find('div.help').each(function() {
    31         $(this).find('div.icon').qtip({
     30    $('div#wizard').find('div.helpIcon').each(function() {
     31        $(this).qtip({
    3232            content: 'leftMiddle',
    3333            position: {
     
    4444                padding: 10,
    4545                textAlign: 'center',
    46                 tip: true, // Give it a speech bubble tip with automatic corner detection
    47                 name: 'blue' // Style it according to the preset 'cream' style
     46                tip: true,
     47                name: 'blue'
    4848            },
    49             content: $(this).find('div.content').html(),
     49            content: $(this).parent().parent().find('div.helpContent').html(),
    5050            show: 'mouseover',
    5151            hide: 'mouseout'
    5252        })
    53     })
     53    });
    5454}
Note: See TracChangeset for help on using the changeset viewer.