summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Stjerneman2011-11-26 02:35:53 +0100
committerEmil Stjerneman2011-11-26 02:35:53 +0100
commit3e0d9693fd096e5ccd85b128fc30b557f342fe0a (patch)
tree625e47972dff9e78ac7cac0d07616c42a1d7d276
parentcf6ccb4cc333d0ad8a58fc6da51764e020acb946 (diff)
Issue 1346972: Select menu added via hook_linkit_attributes() will not post (API)7.x-2.0-beta27.x-2.0
-rwxr-xr-xjs/linkit.dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/linkit.dialog.js b/js/linkit.dialog.js
index 466ff63..0098505 100755
--- a/js/linkit.dialog.js
+++ b/js/linkit.dialog.js
@@ -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));
});