Questions tagged [javascript]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
3answers
99 views

Upgraded to 4.6 Civicrm javascript errors Error can't send email or press some buttons

Error: b.indexOf is not a function b@https://www.websiteremoved.com/administrator/components/com_civicrm/civicrm/bower_components/select2/select2.min.js I can't add receipients or get past step one ...
0
votes
3answers
82 views

CiviCase error “required params missing”

I'm getting a fatal error in the popup when trying to edit Case details (eg Type, Status) by clicking on the grey pencil in the contact summary. This has only happened since I moved the installation ...
6
votes
1answer
104 views

Moving Angular extension into /ang/

I'm attempting to move code from an angular extension into core. I've created an ang/crmModuleName and moved the ctrl and partials into it, and crmModuleName.css into the ang/ and crmModuleName.js ...
1
vote
0answers
88 views

Why do I have an error when trying to update relationship using CiviCRM API

Since this morning I'm running into something strange when using the API to update a relationship. Here is my code : CRM.api3('Relationship', 'create', { "sequential": 1, "id": 11, "...
0
votes
1answer
47 views

Adding popup info via CRM.help() - doesn't quite work

I am trying to add some end user popup help text for some fields in a profile. I have looked at several examples in core and extensions and have tried to follow them as examples. I have an extension ...
1
vote
1answer
38 views

Is Civi having a separate copy of jQuery inefficient?

In my html page source I can see 2 copies of jQuery; one for Drupal, and the other for CiviCRM. Surely this isn't very efficient. Is there a way to reconcile the two?
2
votes
1answer
2k views

How to disable datepicker UI for a mobile device

I like the datepicker UI, but many people don't. We require date of birth on a few forms. Each week I get at least one complaint that someone can't fill out the form on a mobile. Not sure if a bug ...
2
votes
1answer
38 views

Requiring “Assigned” and “Target” contacts when recording Activity

When creating a new Activity record, I need to require the "With contact" and "Assigned to" fields have a contact selected. In the activity/form/activity.php file I can add 'required'=>TRUE to the ...
1
vote
2answers
322 views

Backbone JS error with 4.6.4 on WP messing up contribution page set up

It feels inappropriate posting this on Stack Exchange, but I don't see any other viable option since the support forum has been deprecated and no-one goes there any more, so here goes: Just upgraded ...
1
vote
2answers
45 views

Updating to civi 4.6 after this can't create new emails no text editor

After upgrading I can't create new emails. Also the menu bar is not showing right. Please look at my screen shots. step 1 and step2. Maybe a problem with javasript? Help is urgently needed since we ...
2
votes
2answers
144 views

Dashboard hangs; forces apache restart

This is in planning for upgrade to J!3. I have found no workable solutions here or elsewhere on the web. CiviCRM 4.6.4 Joomla 2.5.28 MySQL 5.5.38-1~dotdeb.0 Apache 2.2.16 PHP 5.3.29-1~dotdeb.0 Debian ...