summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Stjerneman2014-09-30 18:03:57 +0200
committerEmil Stjerneman2014-09-30 18:03:57 +0200
commit1fb8dfe6aa859def0cf101238e50d707b2337e91 (patch)
tree8ced3d96e46da9ee1433f6f403222648a86350da
parent6fb53cb1093de956d83bb687c02b43744a07fb76 (diff)
Reverted #2319721.7.x-3.2
-rw-r--r--linkit.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/linkit.module b/linkit.module
index 9be2506..b494cd4 100644
--- a/linkit.module
+++ b/linkit.module
@@ -1048,9 +1048,8 @@ function linkit_pre_render_editor_element($element) {
if (!$profile) {
return $element;
}
-
// Set the field ID.
- $field_id = $element['value']['#id'];
+ $field_id = $element['#id'] . '-value';
$field_js = array(
'data' => array(