Closed (fixed)
Project:
BeautyTips
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2009 at 22:18 UTC
Updated:
24 Sep 2010 at 20:20 UTC
I have BT working ok on a select box but now getting this js error when I move the cursor out of the select box (via Firebug):
uncaught exception: [Exception... "Could not convert JavaScript argument arg 0" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://mysite.com/sites/all/modules/jquery_update/replace/jquery.min.js?U :: anonymous :: line 22" data: no]
My BT code is:
<script type="text/javascript">
$('#edit-field-bedrooms-value-many-to-one-wrapper').bt('Click, hold and drag for multiple selection.', {
trigger: 'hover',
positions: 'right',
shrinkToFit: 'true',
width: 145px
});
</script>Anyone know what that's all about?
Comments
Comment #1
kleinmp commentedOne possible issue i see in your code above is your shrinkToFit option. It should be:
Notice the 'true' does not have quotes so that it is treated as a boolean variable instead of a string.
I think I see the opposite error with your width option. There it actually should have quotes. So your full beautytips code should look like:
Comment #2
druplicate commentedYes that was it, thanks.
I had just caught the width problem, but didn't realize the other.
Comment #3
kleinmp commented