comparison core/modules/quickedit/js/views/AppView.es6.js @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children 129ea1e6d783
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
229 // confirmation. 229 // confirmation.
230 else if ((from === 'changed' || from === 'invalid') && to === 'candidate') { 230 else if ((from === 'changed' || from === 'invalid') && to === 'candidate') {
231 if (context && context.reason === 'mouseleave') { 231 if (context && context.reason === 'mouseleave') {
232 accept = false; 232 accept = false;
233 } 233 }
234 else { 234 // Check whether the transition has been confirmed?
235 // Check whether the transition has been confirmed? 235 else if (context && context.confirmed) {
236 if (context && context.confirmed) { 236 accept = true;
237 accept = true;
238 }
239 } 237 }
240 } 238 }
241 } 239 }
242 } 240 }
243 241