From 25794aa8ef5e5554d875f6258867659baead9853 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 26 Nov 2013 01:48:22 -0800 Subject: [PATCH] HR-8 - MultipleRecordsFieldsListing.tpl - Trigger crmFormLoad instead of profile-dialog:*:open --- .../CRM/Profile/Page/MultipleRecordFieldsListing.tpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/CRM/Profile/Page/MultipleRecordFieldsListing.tpl b/templates/CRM/Profile/Page/MultipleRecordFieldsListing.tpl index a0154bafc8..ec210045b5 100644 --- a/templates/CRM/Profile/Page/MultipleRecordFieldsListing.tpl +++ b/templates/CRM/Profile/Page/MultipleRecordFieldsListing.tpl @@ -84,15 +84,15 @@ background: "black" }, open: function(event, ui) { - cj('body').trigger({ - type: "profile-dialog:" + dialogName + ":open", - dialog: cj('#profile-dialog') + cj('#profile-dialog').trigger({ + type: "crmFormLoad", + profileName: dialogName }); }, close: function (event, ui) { - cj('body').trigger({ - type: "profile-dialog:" + dialogName + ":close", - dialog: cj('#profile-dialog') + cj('#profile-dialog').trigger({ + type: "crmFormClose", + profileName: dialogName }); cj('#profile-dialog').html(''); } -- 2.25.1