Quick and dirty hacking to put angular form in tab.
authorFrank J. Gómez <frank@ginkgostreet.com>
Wed, 22 Jul 2015 15:51:25 +0000 (11:51 -0400)
committerFrank J. Gómez <frank@ginkgostreet.com>
Wed, 22 Jul 2015 23:09:48 +0000 (19:09 -0400)
CRM/Event/Form/ManageEvent/TabHeader.php

index 8e299d71a6ac2715650dba452704c13d899fb4ba..dbde3adbaa3c48be90b9b44f6409f48e2e2c3c95 100644 (file)
@@ -200,13 +200,13 @@ WHERE      e.id = %1
         }
 
         if (isset($value['link'])) {
-          $link = $value['link'];
-          $query = NULL;
+          $tabs[$key]['link'] = $value['link'];
         } else {
           $link = "civicrm/event/manage/{$key}";
           $query = "{$reset}action={$action}&id={$eventID}&component=event{$tabs[$key]['qfKey']}";
+          $tabs[$key]['link'] = CRM_Utils_System::url($link, $query);
         }
-        $tabs[$key]['link'] = CRM_Utils_System::url($link, $query);
+
       }
     }