Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / quickedit / js / views / AppView.js
index 51c80f1556dffd1e6cc096249c6a80b2b8fdbfdd..d4a7051aef241b5c9e107348314fa541c3b058d5 100644 (file)
@@ -63,7 +63,7 @@
 
           if (reload) {
             reload = false;
-            location.reload();
+            window.location.reload();
           }
           break;
       }
         if (field === updatedField) {} else if (field.getViewMode() === updatedField.getViewMode()) {
             field.set('html', updatedField.get('html'));
           } else if (field.getViewMode() in htmlForOtherViewModes) {
-              field.set('html', htmlForOtherViewModes[field.getViewMode()], { propagation: true });
+              field.set('html', htmlForOtherViewModes[field.getViewMode()], {
+                propagation: true
+              });
             }
       });
     },
     rerenderedFieldToCandidate: function rerenderedFieldToCandidate(fieldModel) {
-      var activeEntity = Drupal.quickedit.collections.entities.findWhere({ isActive: true });
+      var activeEntity = Drupal.quickedit.collections.entities.findWhere({
+        isActive: true
+      });
 
       if (!activeEntity) {
         return;