(function ($, Drupal) {
Drupal.behaviors.robib_solr_alterlBehavior = {
attach: function (context, settings) {
$('#open-modal-link', context).click(function (e) {
e.preventDefault();
// Create the modal content
var modalContent = '
' +
'
' +
'×' +
'
Append Solr Fields
' +
'
The form allows you append results from one or more Solr fields to an existing Solr field. ' +
'Select Source fields from the dropdowns on the left to append them with a Destination field on the right.' +
'
' +
'
Multiple source fields may be appended to a single destination field.