diff --git a/core/modules/views/views_ui/js/views-admin.js b/core/modules/views/views_ui/js/views-admin.js index 9ef1230..55c5bdd 100644 --- a/core/modules/views/views_ui/js/views-admin.js +++ b/core/modules/views/views_ui/js/views-admin.js @@ -111,8 +111,12 @@ Drupal.viewsUi.FormFieldFiller = function ($target, exclude, replace, suffix) { // one bound version of an object method, whereas we need one version per // object instance. var self = this; - this.populate = function() {return self._populate.call(self);}; - this.unbind = function() {return self._unbind.call(self);}; + this.populate = function() { + return self._populate.call(self); + }; + this.unbind = function() { + return self._unbind.call(self); + }; this.bind(); // Object constructor; no return value. @@ -1059,7 +1063,7 @@ Drupal.viewsUi.resizeModal = function (e, no_shrink) { difference += $('.views-add-form-selected').outerHeight(true); difference += $('.form-buttons', $modal).outerHeight(true); - height = scrollHeight + difference; + var height = scrollHeight + difference; if (height > maxHeight) { height = maxHeight;