Commit aa2250dd authored by markcarver's avatar markcarver

Issue #3064547 by markcarver, Giuseppe87: Modal title inherits header attributes

Signed-off-by: markcarver's avatarMark Carver <mark.carver@me.com>
parent 44b9de55
......@@ -521,11 +521,9 @@
variables = $.extend(true, {}, defaults, variables);
if (typeof variables.title === 'string') {
variables.title = $.extend({}, defaults, { content: variables.title });
variables.title = $.extend({}, defaults.title, { content: variables.title });
}
variables.title.attributes = Attributes.create(defaults.title.attributes).merge(variables.title.attributes);
var title = Drupal.theme('bootstrapModalTitle', variables.title);
if (title) {
var attributes = Attributes.create(defaults.attributes).merge(variables.attributes);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment