Bug Tracker

Changeset 3949

Show
Ignore:
Timestamp:
11/27/07 17:58:48 (1 year ago)
Author:
kswedberg
Message:

clueTip: fixed error (reported at http://jquery.com/plugins/node/941) when splitTitle is used and title attribute is empty.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/cluetip/jquery.cluetip.js

    r3941 r3949  
    128128      var tipTitle = (opts.attribute != 'title') ? $this.attr(opts.titleAttribute) : ''; 
    129129      if (opts.splitTitle) { 
     130        if(tipTitle == undefined){ tipTitle = '';} 
    130131        tipParts = tipTitle.split(opts.splitTitle); 
    131132        tipTitle = tipParts.shift();