CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Nifty javacscript contact info pop-ups broken in 4.0.7
Pages: [1]

Author Topic: Nifty javacscript contact info pop-ups broken in 4.0.7  (Read 944 times)

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Nifty javacscript contact info pop-ups broken in 4.0.7
November 23, 2011, 03:17:51 am
I'm a big fan of those great little pop-up info boxes that appear when you roll over the contact icon in a listing of contacts, giving you an overview of the data held for that contact without having to click into a new page. This appears not be working in a Drupal 7/CiviCRM 4.0.7 install, and looks broken on the demo site as well. Does appear to be working fine for 3.4.7 and D6.
Graham Mitchell
http://mc3.coop

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Nifty javacscript contact info pop-ups broken in 4.0.7
November 23, 2011, 03:27:50 am
Update: in 3.4.7 there is a div as follows:
Code: [Select]
<div class="crm-tooltip-wrapper"> which seems not be present in 4.0.7
Graham Mitchell
http://mc3.coop

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Nifty javacscript contact info pop-ups broken in 4.0.7
November 24, 2011, 07:43:28 am
Looks like a bug, please file an issue for this in jira.

Thanks
Kurund
Found this reply helpful? Support CiviCRM

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Nifty javacscript contact info pop-ups broken in 4.0.7
November 28, 2011, 05:16:45 am
Thanks Kurund. I've now logged that issue.
http://issues.civicrm.org/jira/browse/CRM-9238
Graham Mitchell
http://mc3.coop

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Nifty javacscript contact info pop-ups broken in 4.0.7
November 29, 2011, 07:37:56 am
Can you try this patch: http://paste2.org/p/1802078

Kurund
Found this reply helpful? Support CiviCRM

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Nifty javacscript contact info pop-ups broken in 4.0.7
November 30, 2011, 02:39:06 am
Doesn't seem to be working for me (of course I may well have done something wrong in applying the patch). I see that this is now working correctly on the D7 demo site, so it's likely that it's me. when attempting to apply the patch file I got "Hunk #1 FAILED at 12."
Graham Mitchell
http://mc3.coop

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Nifty javacscript contact info pop-ups broken in 4.0.7
November 30, 2011, 03:34:45 am
try applying the changes manually.

Kurund
Found this reply helpful? Support CiviCRM

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Nifty javacscript contact info pop-ups broken in 4.0.7
November 30, 2011, 03:59:26 am
Err, so my jquery.contectMenu.js file begins (after the commented out preamble) with:
Code: [Select]
( function($) {
$.extend($.fn, {
« Last Edit: November 30, 2011, 04:04:02 am by Upperholme »
Graham Mitchell
http://mc3.coop

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Nifty javacscript contact info pop-ups broken in 4.0.7
November 30, 2011, 04:05:04 am
You can replace your existing file with this one: http://svn.civicrm.org/civicrm/branches/v4.0/packages/jquery/plugins/jquery.contextMenu.js

Kurund
Found this reply helpful? Support CiviCRM

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Nifty javacscript contact info pop-ups broken in 4.0.7
November 30, 2011, 04:58:22 am
Resolved!
It is now working as expected..
My edits to jquery.contextMenu.js were correct, but I had omitted to disaggregate my js files and clear the cache.

Thanks Kurund
Graham Mitchell
http://mc3.coop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Nifty javacscript contact info pop-ups broken in 4.0.7

This forum was archived on 2017-11-26.