Commit 35fa9676 authored by effulgentsia's avatar effulgentsia

Issue #2559955 by Wim Leers, swentel, mdrummond: Ensure that Quick Edit relies...

Issue #2559955 by Wim Leers, swentel, mdrummond: Ensure that Quick Edit relies less on the structure of the HTML
parent 451bebc4
......@@ -63,7 +63,7 @@
// Store the actual value of this field. We'll need this to restore the
// original value when the user discards his modifications.
var $fieldItems = this.$el.find('.field__item');
var $fieldItems = this.$el.find('.quickedit-field');
if ($fieldItems.length) {
this.$textElement = $fieldItems.eq(0);
}
......
......@@ -31,7 +31,7 @@
// Store the original value of this field. Necessary for reverting
// changes.
var $textElement;
var $fieldItems = this.$el.find('.field__item');
var $fieldItems = this.$el.find('.quickedit-field');
if ($fieldItems.length) {
$textElement = this.$textElement = $fieldItems.eq(0);
}
......
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