CRM-17911 - crmCxn ManageCtrl - Use `page_name` instead of `page`
authorTim Otten <totten@civicrm.org>
Sun, 31 Jan 2016 01:39:59 +0000 (18:39 -0700)
committerTim Otten <totten@civicrm.org>
Sun, 31 Jan 2016 01:42:34 +0000 (18:42 -0700)
ang/crmCxn/ManageCtrl.js

index 12bba3c4e5aad7d5954e2270edd802845af68050..b23901b0cf4fc6413309efbbed114d641361e6d3 100644 (file)
@@ -98,7 +98,7 @@
     };
 
     $scope.openLink = function openLink(appMeta, page, options) {
-      var promise = crmApi('Cxn', 'getlink', {app_guid: appMeta.appId, page: page}).then(function(result) {
+      var promise = crmApi('Cxn', 'getlink', {app_guid: appMeta.appId, page_name: page}).then(function(result) {
         var mode = result.values.mode ? result.values.mode : 'popup';
         switch (result.values.mode) {
           case 'iframe':