projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
modules
/
quickedit
/
js
/
editors
/
formEditor.js
diff --git
a/web/core/modules/quickedit/js/editors/formEditor.js
b/web/core/modules/quickedit/js/editors/formEditor.js
index 8a872edc57ef94b770f1083e7e2d932c4050dc1d..a53bc79e7b6d41daf318fd635cf8a9f694dd1767 100644
(file)
--- a/
web/core/modules/quickedit/js/editors/formEditor.js
+++ b/
web/core/modules/quickedit/js/editors/formEditor.js
@@
-52,7
+52,12
@@
}
},
getQuickEditUISettings: function getQuickEditUISettings() {
}
},
getQuickEditUISettings: function getQuickEditUISettings() {
- return { padding: true, unifiedToolbar: true, fullWidthToolbar: true, popup: true };
+ return {
+ padding: true,
+ unifiedToolbar: true,
+ fullWidthToolbar: true,
+ popup: true
+ };
},
loadForm: function loadForm() {
var fieldModel = this.fieldModel;
},
loadForm: function loadForm() {
var fieldModel = this.fieldModel;
@@
-122,16
+127,16
@@
var editorModel = this.model;
var fieldModel = this.fieldModel;
var editorModel = this.model;
var fieldModel = this.fieldModel;
- function cleanUpAjax() {
- Drupal.quickedit.util.form.unajaxifySaving(formSaveAjax);
- formSaveAjax = null;
- }
-
var formSaveAjax = Drupal.quickedit.util.form.ajaxifySaving({
nocssjs: false,
other_view_modes: fieldModel.findOtherViewModes()
}, $submit);
var formSaveAjax = Drupal.quickedit.util.form.ajaxifySaving({
nocssjs: false,
other_view_modes: fieldModel.findOtherViewModes()
}, $submit);
+ function cleanUpAjax() {
+ Drupal.quickedit.util.form.unajaxifySaving(formSaveAjax);
+ formSaveAjax = null;
+ }
+
formSaveAjax.commands.quickeditFieldFormSaved = function (ajax, response, status) {
cleanUpAjax();
formSaveAjax.commands.quickeditFieldFormSaved = function (ajax, response, status) {
cleanUpAjax();