Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-02-06-10-43-01
[civicrm-core.git] / templates / CRM / Report / Form / Instance.tpl
index b1fa6fa6e0af90d045dd47c5217f0b3a5f2c0829..366f05f64b196c481618e84a736827ec2de2390c 100644 (file)
       var formName = {/literal}"{$form.formName}"{literal};
       cj('#_qf_' + formName + '_submit_save').click (
           function(){
-              if ( cj('#is_navigation').attr('checked') && cj('#parent_id').val() == '') {
+              if ( cj('#is_navigation').prop('checked') && cj('#parent_id').val() == '') {
                   var confirmMsg = {/literal}'{ts escape="js"}You have chosen to include this report in the Navigation Menu without selecting a Parent Menu item from the dropdown. This will add the report to the top level menu bar. Are you sure you want to continue?{/ts}'{literal}
                   return confirm(confirmMsg);
               }