towards dialog and propagation dialog and code
[civicrm-core.git] / templates / CRM / Activity / Form / Activity.tpl
index bfcb5eb37df222dc86bc1715544a537696600a41..20b712d3350ff9792f5f3452d830a3d0598542da 100644 (file)
   {/if}
   </div>{* end of form block*}
 {/if} {* end of snippet if*}
-{literal}
-<script type="text/javascript">
-  CRM.$(function($) {
-    var mapper = {'CRM_Activity_Form_Activity': ''};
-    var form = '';
-    $('#_qf_Activity_upload-top, #_qf_Activity_upload-bottom').click( function () {      
-        form = $(this).parents('form:first').attr('class');
-        if (form != "" && mapper.hasOwnProperty(form)) {
-          $("#recurring-dialog").dialog({
-            title: ts('How does this change affect other repeating events in the set?'),
-            modal: true,
-            width: '650',
-            buttons: {
-              Cancel: function() { //cancel
-                $( this ).dialog( "close" );
-              }
-            }
-          }).dialog('open');
-          return false;
-        }
-    }); 
-  });
-</script>
-{/literal}
-{foreach from=$mapper key=k item=item}
-  {$k} {$item}
-{/foreach}
-{include file="CRM/Event/Form/ManageEvent/ConfirmRepeatMode.tpl" entityType="activity" entityID=$activityId entityTable="civicrm_activity" mapper=$mapper}
\ No newline at end of file
+{include file="CRM/Event/Form/ManageEvent/ConfirmRepeatMode.tpl" entityID=$activityId entityTable="civicrm_activity"}
\ No newline at end of file