Mercurial > hg > isophonics-drupal-site
comparison core/modules/quickedit/js/views/AppView.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 |
---|---|
119 accept = false; | 119 accept = false; |
120 } | 120 } |
121 } else if ((from === 'changed' || from === 'invalid') && to === 'candidate') { | 121 } else if ((from === 'changed' || from === 'invalid') && to === 'candidate') { |
122 if (context && context.reason === 'mouseleave') { | 122 if (context && context.reason === 'mouseleave') { |
123 accept = false; | 123 accept = false; |
124 } else { | 124 } else if (context && context.confirmed) { |
125 if (context && context.confirmed) { | |
126 accept = true; | 125 accept = true; |
127 } | 126 } |
128 } | |
129 } | 127 } |
130 } | 128 } |
131 } | 129 } |
132 | 130 |
133 return accept; | 131 return accept; |