Commit ea850775 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Define títulos de _Window como h2 por defecto

Convierte los títulos de los componentes que forman parte de las vistas
detalle en títulos HTML de nivel 2 (por defecto).

Actualiza submódulo.
parent 3471e021
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ define([

		windowTitleClass: 'windowTitle',
		windowTitleValueClass: 'title',
		windowTitleValueElement: 'h2',
		windowButtonContainerClass: 'buttons',

		buttonPrefixClass: 'fa',
@@ -393,11 +394,12 @@ define([

		_decorateTitleNode: function() {

			var titleTextValue = this._getWindowTitleTextValue(),
				titleAttr = '[title="' + titleTextValue + '"]';
			var titleTextClass = '.' + this.windowTitleValueClass,
				titleTextValue = this._getWindowTitleTextValue(),
				titleTextTitleAttr = '[title="' + titleTextValue + '"]',
				titleTextElement = this.windowTitleValueElement + titleTextClass + titleTextTitleAttr;

			this._windowTitleTextNode = put(this._windowTitleNode, 'div.' + this.windowTitleValueClass + titleAttr,
				titleTextValue);
			this._windowTitleTextNode = put(this._windowTitleNode, titleTextElement, titleTextValue);

			if (!this.omitTitleButtons) {
				this._createWindowButtons();
Compare 77f0fbbb to 7e9d00af
Original line number Diff line number Diff line
Subproject commit 77f0fbbb0ba44ce5fe90362e36a087f46ef7b7af
Subproject commit 7e9d00afe2406bc28d03a36dfe44b6ca542a8a08