Skip to content
Snippets Groups Projects
Commit be3eea7c authored by Rich Lott / Artful Robot's avatar Rich Lott / Artful Robot
Browse files

Fix clean url detection on WordPress #11

parent ca8019bf
Branches
Tags
No related merge requests found
......@@ -85,7 +85,7 @@
importConfig(various);
$scope.defaultBaseUrl = CRM.resourceUrls.civicrm.replace(/^(https?:\/\/[^\/]+).*$/, '$1');
$scope.cleanUrlWarning = (CRM.url('/civicrm/inlay-api', {}).indexOf('?') > -1);
$scope.cleanUrlWarning = (CRM.url('civicrm/inlay-api', {}, 'front').indexOf('?') > -1);
$scope.updating = 0;
$scope.updateAllInlays = function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment