{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
{literal}
<script type="text/javascript">
-cj(function($) {
+CRM.$(function($) {
var tag;
$('.merge_tag').click(function(e) {
tag = $(this).crmEditableEntity();
open: function() {
var dialog = this;
$('input[name=select_merge_tag]', dialog)
- .select2({
+ .crmSelect2({
placeholder: {/literal}'{ts escape="js"}- select tag -{/ts}'{literal},
minimumInputLength: 1,
ajax: {