Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-21602

Disable/Enable Campaign not working

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Needs Funding
    • Verified?:
      No
    • How it works currently:
      Hide
      Goto: /civicrm/campaign?reset=1&subPage=petition
      1. Go to Campaign Tab
      2. Click on Disable o Enable,
      3. Disable or Enable is done but, loading is constantly there.
      Show
      Goto: /civicrm/campaign?reset=1&subPage=petition 1. Go to Campaign Tab 2. Click on Disable o Enable, 3. Disable or Enable is done but, loading is constantly there.
    • How it should work:
      Hide
      Goto: /civicrm/campaign?reset=1&subPage=petition
      1. Go to Campaign Tab
      2. Click on Disable o Enable,
      3. Disable or Enable is done and loading should be gone once process is done
      Show
      Goto: /civicrm/campaign?reset=1&subPage=petition 1. Go to Campaign Tab 2. Click on Disable o Enable, 3. Disable or Enable is done and loading should be gone once process is done
    • Acceptance Criteria:
      Step 3 works accurately

      Description

      Disable/Enable Campaign not working. Mostly due to below error,

      Uncaught TypeError: $ is not a function
      at jQuery.fn.init.fnDrawCallback (eval at <anonymous> (jquery.js?p1mew2:349), <anonymous>:76:16)
      at jquery.dataTables.js?p1mew2:6621
      at Function.map (jquery.js?p1mew2:484)
      at _fnCallbackFire (jquery.dataTables.js?p1mew2:6620)
      at _fnDraw (jquery.dataTables.js?p1mew2:3496)
      at _fnAjaxUpdateDraw (jquery.dataTables.js?p1mew2:4121)
      at jquery.dataTables.js?p1mew2:3961
      at Object.callback [as success] (jquery.dataTables.js?p1mew2:3853)
      at fire (jquery.js?p1mew2:3232)
      at Object.fireWith [as resolveWith] (jquery.js?p1mew2:3362)
      

      Steps to reproduce:

      Goto: /civicrm/campaign?reset=1&subPage=petition

      1. Go to Campaign Tab
      2. Click on Disable o Enable,
      3. Disable or Enable is done but, loading is constantly there.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mukesh Mukesh Ram
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: