Skip to content
Snippets Groups Projects
Commit bc0f6ad8 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #930 from colemanw/task.tpl

Fix missing ($) CRM-12711
parents 1d6112ba c750e673
No related branches found
No related tags found
No related merge requests found
......@@ -50,14 +50,14 @@
{if $searchtype eq 'ts_sel'}
{literal}
<script type="text/javascript">
cj(function() {
cj("#popupContainer").css({
cj(function($) {
$("#popupContainer").css({
"background-color":"#E0E0E0",
'display':'none',
});
cj("#popup-button").click(function() {
cj("#popupContainer").dialog({
$("#popup-button").click(function() {
$("#popupContainer").dialog({
title: "Selected Contacts",
width:700,
height:500,
......@@ -71,8 +71,8 @@
});
var count = 0; var columns = ''; var sortColumn = '';
cj('#selectedRecords th').each( function( ) {
if (cj(this).attr('class') == 'contact_details') {
$('#selectedRecords th').each(function() {
if ($(this).attr('class') == 'contact_details') {
sortColumn += '[' + count + ', "asc" ],';
columns += '{"sClass": "contact_details"},';
}
......@@ -94,7 +94,7 @@
eval('columns =[' + columns + ']');
//load jQuery data table.
cj('#selectedRecords').dataTable( {
$('#selectedRecords').dataTable( {
"sPaginationType": "full_numbers",
"bJQueryUI" : true,
"aaSorting" : sortColumn,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment