Upgrade code to jQuery 1.7.1

This commit is contained in:
Romain Neutron
2012-01-31 11:39:06 +01:00
parent df334dea60
commit 0a21461ab7

View File

@@ -51,7 +51,6 @@
delayAjax : function(a,b,c) delayAjax : function(a,b,c)
{ {
//
var options_serial = p4.tot_options; var options_serial = p4.tot_options;
var query = p4.tot_query; var query = p4.tot_query;
var datas = { var datas = {
@@ -83,7 +82,7 @@
this.tooltipText = $(this).attr('title'); this.tooltipText = $(this).attr('title');
this.tooltipSrc = $(this).attr('tooltipsrc'); this.tooltipSrc = $(this).attr('tooltipsrc');
this.ajaxLoad = (this.tooltipText === '' && this.tooltipSrc !== ''); this.ajaxLoad = ($.trim(this.tooltipText) === '' && this.tooltipSrc !== '');
this.ajaxTimeout; this.ajaxTimeout;
this.orEl = $(this); this.orEl = $(this);
@@ -241,8 +240,8 @@
function positioning(event) function positioning(event)
{ {
helper.body.html(title);
helper.body.html(title).show(); helper.body.show();
$this = $.tooltip.current; $this = $.tooltip.current;
// fix PNG background for IE // fix PNG background for IE
if (settings($this).fixPNG ) if (settings($this).fixPNG )