Merge pull request #2387 from pratik-joshi/CRM-13973
[civicrm-core.git] / CRM / Admin / Page / PaymentProcessorType.php
index c1e9cecb282515450ab56be0917c211ed9570aa3..d324b330c56949a7edcc8d7fc768482f1e244a67 100644 (file)
@@ -71,14 +71,12 @@ class CRM_Admin_Page_PaymentProcessorType extends CRM_Core_Page_Basic {
         ),
         CRM_Core_Action::DISABLE => array(
           'name' => ts('Disable'),
-          'extra' => 'onclick = "enableDisable( %%id%%,\'' . 'CRM_Financial_BAO_PaymentProcessorType' . '\',\'' . 'enable-disable' . '\' );"',
-          'ref' => 'disable-action',
+          'ref' => 'crm-enable-disable',
           'title' => ts('Disable Payment ProcessorType'),
         ),
         CRM_Core_Action::ENABLE => array(
           'name' => ts('Enable'),
-          'extra' => 'onclick = "enableDisable( %%id%%,\'' . 'CRM_Financial_BAO_PaymentProcessorType' . '\',\'' . 'disable-enable' . '\' );"',
-          'ref' => 'enable-action',
+          'ref' => 'crm-enable-disable',
           'title' => ts('Enable Payment ProcessorType'),
         ),
         CRM_Core_Action::DELETE => array(