Commit 3e0d9693 authored by anon's avatar anon

Issue 1346972: Select menu added via hook_linkit_attributes() will not post (API)

parent cf6ccb4c
......@@ -111,7 +111,7 @@ Drupal.linkit.dialog.requiredFieldsValidation = function() {
*/
Drupal.linkit.dialog.additionalAttributes = function() {
var attributes = [];
$('#linkit-modal #edit-linkit-attributes .form-text').each(function() {
$('#linkit-modal #edit-linkit-attributes .linkit-attribute').each(function() {
// Remove the 'linkit_' prefix.
attributes.push($(this).attr('name').substr(7));
});
......
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