After updating my jQuery to 1.8 I am getting Uncaught TypeError: Object function (a,b){return new p.fn.init(a,b,c)} has no method 'curCSS' . After replacing curCSS with css it works fine.
I replaced jQuery.curCSS(elem[0],prop,true) with jQuery(elem[0]).css(prop).
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | beautytips-remove_obsolete_curcss_function-1902324-6.patch | 115.65 KB | kenianbei |
| #3 | beautytips-remove_obsolete_curcss_function_3.patch | 3.05 KB | martonlaci |
| #2 | beautytips-remove_obsolete_curcss_function-1902324-2.patch | 6.71 KB | ruloweb |
Comments
Comment #1
jlancaster commentedConfirmed, this should be implemented in future versions.
Comment #2
ruloweb commentedPatch for 7.x-2.x-dev
Comment #3
martonlaci commentedI can confirm that the initial solution proposed by jibran is working.
However the patch proposed in #2 is wrong, because it simply drops the .curCSS() function not changes to .css().
Attached a new patch.
Comment #4
geo commentedTnx martonlaci.
Patch works like a charm
Comment #5
miccelito commentedIf set jQuery Update to jQuery 1.8.2 and jQuery UI 1.8.11, after adding patch the beautytips popup shows odd in Chrome.
Are you using jQuery UI from a CDN?
Comment #6
kenianbei commentedCouldn't get last patch to apply. Manual apply works fine. Attaching a patch that applies to current dev and setting to RTBC.
Comment #7
kenianbei commentedJust realized I also added line break conversions, set to needs review if this is an issue.
Comment #8
carlmcdade commentedThe files shipped with the module should be replaced with the later version of beauty tips:
http://drupal.stackexchange.com/questions/128924/how-do-i-get-beauty-tip...
Comment #9
peterx commentedThe link in #8 is dead. There are downloads at http://code.google.com/p/beautytips/downloads/list
Comment #10
alauddin commentedCan confirm patch from #6 works
Jquery_update - 7x-3 set to jquery 1.10
beautytips 7.x-2.x-dev from 2013-Sep-30
No need to update jquery.bt.js which is already 0.9.5-rc1 found in the module
Comment #11
digitaldonkey commentedbeautytips-remove_obsolete_curcss_function-1902324-6.patch with 7.x-2.0-beta2 solved the problem for me.
Comment #12
nickonom commented#6 takes care of the issue to start showing beautytips. However there is a new one after applying the patch:
$text.outerHeight is not a functionComment #14
pifagor commentedDone
Comment #15
pifagor commented