From 6f97b1d91fafe2f0ca4821ce0ae74304d574acf4 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sun, 22 Sep 2019 16:50:32 -0400 Subject: [PATCH] Remove extension-specific ts() --- ang/api4Explorer/Explorer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ang/api4Explorer/Explorer.js b/ang/api4Explorer/Explorer.js index 76cd99d942..3d596a2b18 100644 --- a/ang/api4Explorer/Explorer.js +++ b/ang/api4Explorer/Explorer.js @@ -21,7 +21,7 @@ }); angular.module('api4Explorer').controller('Api4Explorer', function($scope, $routeParams, $location, $timeout, $http, crmUiHelp, crmApi4) { - var ts = $scope.ts = CRM.ts('api4'); + var ts = $scope.ts = CRM.ts(); $scope.entities = entities; $scope.actions = actions; $scope.fields = []; @@ -585,7 +585,7 @@ }, templateUrl: '~/api4Explorer/WhereClause.html', link: function (scope, element, attrs) { - var ts = scope.ts = CRM.ts('api4'); + var ts = scope.ts = CRM.ts(); scope.newClause = ''; scope.conjunctions = ['AND', 'OR', 'NOT']; scope.operators = CRM.vars.api4.operators; @@ -640,7 +640,7 @@ }, require: 'ngModel', link: function (scope, element, attrs, ctrl) { - var ts = scope.ts = CRM.ts('api4'), + var ts = scope.ts = CRM.ts(), multi = _.includes(['IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'], scope.data.op), entity = $routeParams.api4entity, action = $routeParams.api4action; @@ -759,7 +759,7 @@ }, templateUrl: '~/api4Explorer/Chain.html', link: function (scope, element, attrs) { - var ts = scope.ts = CRM.ts('api4'); + var ts = scope.ts = CRM.ts(); function changeEntity(newEntity, oldEntity) { // When clearing entity remove this chain -- 2.25.1