update core to 7.36
This commit is contained in:
@@ -134,6 +134,9 @@ function hook_field_widget_settings_form($field, $instance) {
|
||||
/**
|
||||
* Specify the form elements for a formatter's settings.
|
||||
*
|
||||
* This hook is only invoked if hook_field_formatter_settings_summary()
|
||||
* returns a non-empty value.
|
||||
*
|
||||
* @param $field
|
||||
* The field structure being configured.
|
||||
* @param $instance
|
||||
|
@@ -6,8 +6,8 @@ core = 7.x
|
||||
dependencies[] = field
|
||||
files[] = field_ui.test
|
||||
|
||||
; Information added by Drupal.org packaging script on 2014-05-08
|
||||
version = "7.28"
|
||||
; Information added by Drupal.org packaging script on 2015-04-02
|
||||
version = "7.36"
|
||||
project = "drupal"
|
||||
datestamp = "1399522731"
|
||||
datestamp = "1427943826"
|
||||
|
||||
|
@@ -168,7 +168,7 @@ Drupal.fieldUIOverview = {
|
||||
var dragObject = this;
|
||||
var row = dragObject.rowObject.element;
|
||||
var rowHandler = $(row).data('fieldUIRowHandler');
|
||||
if (rowHandler !== undefined) {
|
||||
if (typeof rowHandler !== 'undefined') {
|
||||
var regionRow = $(row).prevAll('tr.region-message').get(0);
|
||||
var region = regionRow.className.replace(/([^ ]+[ ]+)*region-([^ ]+)-message([ ]+[^ ]+)*/, '$2');
|
||||
|
||||
@@ -319,7 +319,7 @@ Drupal.fieldUIDisplayOverview.field.prototype = {
|
||||
if (currentValue == 'hidden') {
|
||||
// Restore the formatter back to the default formatter. Pseudo-fields do
|
||||
// not have default formatters, we just return to 'visible' for those.
|
||||
var value = (this.defaultFormatter != undefined) ? this.defaultFormatter : 'visible';
|
||||
var value = (typeof this.defaultFormatter !== 'undefined') ? this.defaultFormatter : this.$formatSelect.find('option').val();
|
||||
}
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user