worked on CRM-12202, added overlay for ajax reloading
authorKurund Jalmi <kurund@civicrm.org>
Thu, 28 Mar 2013 11:36:29 +0000 (17:06 +0530)
committerKurund Jalmi <kurund@civicrm.org>
Thu, 28 Mar 2013 11:36:29 +0000 (17:06 +0530)
templates/CRM/Case/Form/ActivityChangeStatus.js
templates/CRM/Case/Form/CaseView.tpl
templates/CRM/Case/Form/Selector.tpl
templates/CRM/Case/Page/DashBoard.tpl

index cee2acd5d588f9c6a3fbfe2e38b018c0dfcdbf48..7421776de120ee9d4f868041c0a47ea590e838b4 100644 (file)
@@ -51,13 +51,18 @@ cj(function($) {
     };
 
     var data = 'snippet=1&reset=1';
-    $('<div>')
-      .load(CRM.url('civicrm/case/changeactivitystatus'), data, function() {
-        cj("#activity_change_status").val(current_status_id);
-      })
+
+    var o = $('<div class="crm-container crm-activity_change_status"></div>');
+    addCiviOverlay(o);
+
+    o.load(CRM.url('civicrm/case/changeactivitystatus'), data, function() {
+      removeCiviOverlay(o);
+      cj("#activity_change_status").val(current_status_id);
+    })
       .dialog({
         modal: true,
         title: ts('Change Activity Status'),
+        resizable: false,
         buttons: buttons,
         beforeClose: function() {
           $(this).dialog("destroy");
index 955c03b06e592b7c349c19707720ec669ec2bc78..df0ad7e3b054eb2da29059358d42b9ef0da46c2d 100644 (file)
@@ -1123,3 +1123,4 @@ function printCaseReport( ) {
 
 {/if} {* view related cases if end *}
 </div>
+{include file="CRM/common/overlay.tpl"}
index 7c96eff158af5ee3d07aef01128b1cc27f9a070f..1b86ee5113950bd8aa3110a052b5818bf11b8777 100644 (file)
@@ -165,3 +165,4 @@ function buildCaseDetails( caseId, contactId )
 </script>
 
 {/literal}
+{include file="CRM/common/overlay.tpl"}
index 102e6fb714bc43790cbed05593a985b84be04779..22d415570a1d81f184bffd07e1d6d6ff106411a1 100644 (file)
     {/if}\r
 {/if}\r
 </div>\r
+{include file="CRM/common/overlay.tpl"}\r