Commit 7a2a107f authored by everykittysdaydream's avatar everykittysdaydream Committed by GitHub

trigger change event on mapping get param set (#6)

parent da43a736
......@@ -36,7 +36,9 @@ class CRM_Osdi_Page_Mapping extends CRM_Core_Page {
'id' => (int) substr($value["name"], 7),
));
$addOn = "/" . $result["values"][0]["name"];
if (isset($result["values"][0])) {
$addOn = "/" . $result["values"][0]["name"];
}
}
$item = array();
$item["first"] = $value["name"];
......
......@@ -200,9 +200,9 @@
if (endpointvar != "") {
if (endpointvar.indexOf("actionnetwork.org") !== -1) {
CRM.$("#EndpointSelector").val(1);
CRM.$("#EndpointSelector").val(1).change();
} else {
CRM.$("#EndpointSelector").val(2);
CRM.$("#EndpointSelector").val(2).change();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment