comparison core/modules/image/js/editors/image.js @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
201 }, 201 },
202 revert: function revert() { 202 revert: function revert() {
203 this.$el.html(this.model.get('originalValue')); 203 this.$el.html(this.model.get('originalValue'));
204 }, 204 },
205 getQuickEditUISettings: function getQuickEditUISettings() { 205 getQuickEditUISettings: function getQuickEditUISettings() {
206 return { padding: false, unifiedToolbar: true, fullWidthToolbar: true, popup: false }; 206 return {
207 padding: false,
208 unifiedToolbar: true,
209 fullWidthToolbar: true,
210 popup: false
211 };
207 }, 212 },
208 showValidationErrors: function showValidationErrors() { 213 showValidationErrors: function showValidationErrors() {
209 var errors = Drupal.theme('quickeditImageErrors', { 214 var errors = Drupal.theme('quickeditImageErrors', {
210 errors: this.model.get('validationErrors') 215 errors: this.model.get('validationErrors')
211 }); 216 });