Skip to content

Commit

Permalink
remove regex in contact processor js
Browse files Browse the repository at this point in the history
  • Loading branch information
mecachisenros committed Dec 14, 2016
1 parent ec13468 commit 2df5729
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions processors/contact/contact_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,8 @@

<script>
jQuery(document).ready( function($) {
// Processor ID/name and container
var prName = "{{_name}}";
var prId = prName.match(/fp_([0-9]){8}/g);
// Processor ID and container
var prId = "{{_id}}";
var prContainer = '#' + prId + '_settings_pane .caldera-config-processor-setup';

// Show/hide accordions
Expand Down

0 comments on commit 2df5729

Please sign in to comment.