Commit 50cb43af authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Oculta botonera vacía, actualiza submódulo

parent 394d7225
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ define([
				_titleLeftButtonsList: [],
				_titleRightButtonsList: [],
				tabs: [],
				hiddenClass: 'hidden',
				centerTitle: false,
				pathParent: null,
				_closeTitle: false,
@@ -140,7 +141,7 @@ define([

			this._titleButtonsNode = put(this.topNode, 'div.buttons');
			this._titleLeftNode = put(this._titleButtonsNode, "div.left");
			this._titleRightNode = put(this._titleButtonsNode, "div.right");
			this._titleRightNode = put(this._titleButtonsNode, "div.right." + this.hiddenClass);
		},

		_addIdTitle: function() {
@@ -186,6 +187,13 @@ define([
					put('!', this._titleRightNode.children[i]);
				}
			}

			if (rightButtons.length === 0) {
				put(this._titleRightNode, '.' + this.hiddenClass);
			} else {
				put(this._titleRightNode, '!' + this.hiddenClass);
			}

			for (i = 0; i < rightButtons.length; i++) {
				this._preInsertIcon(rightButtons[i], this._titleRightNode);
			}
Compare c9eb53d3 to 78f4b922
Original line number Diff line number Diff line
Subproject commit c9eb53d33da5050f93ea0e6c80b295994fd27adf
Subproject commit 78f4b922d232247cb06c40d0c6a13f4de279f2ae