Loading public/javascript/redmic/modules/base/_Window.js +22 −5 Original line number Diff line number Diff line Loading @@ -98,18 +98,16 @@ define([ this._emitEvt('LOADING'); var containerClass = this.windowContainerClass, resizeHandleNode; var containerClass = this.windowContainerClass; if (this.resizable) { containerClass += '.' + this.windowResizableClass; resizeHandleNode = put('i.' + this.resizeHandleClass); } this._windowNode = put(node, "div." + containerClass); if (resizeHandleNode) { put(this._windowNode, resizeHandleNode); if (this.resizable) { this._createWindowResizeComponents(); } if (!this.noTitleWindow) { Loading @@ -121,6 +119,24 @@ define([ this._addNodeListeners(); }, _createWindowResizeComponents: function() { this._limitMaxHeightToAvailableHeight(); var resizeHandleNode = put('i.' + this.resizeHandleClass); put(this._windowNode, resizeHandleNode); }, _limitMaxHeightToAvailableHeight: function() { var currMaxHeight = window.innerHeight; if (this._lastMaxHeight !== currMaxHeight) { this._lastMaxHeight = currMaxHeight; domStyle.set(this._windowNode, 'max-height', currMaxHeight + 'px'); } }, _createWindowTitle: function() { this._windowTitleNode = put(this._windowNode, "div." + this.windowTitleClass); Loading Loading @@ -404,6 +420,7 @@ define([ _resize: function() { this._limitMaxHeightToAvailableHeight(); this._prepareToEmitResize(); this.inherited(arguments); Loading stylesheets @ 55cf3d9b Compare 14562e29 to 55cf3d9b Original line number Diff line number Diff line Subproject commit 14562e294201043f3632e0046c7c81d17159f45a Subproject commit 55cf3d9ba3a0204309a1a87c0b0136401910c212 Loading
public/javascript/redmic/modules/base/_Window.js +22 −5 Original line number Diff line number Diff line Loading @@ -98,18 +98,16 @@ define([ this._emitEvt('LOADING'); var containerClass = this.windowContainerClass, resizeHandleNode; var containerClass = this.windowContainerClass; if (this.resizable) { containerClass += '.' + this.windowResizableClass; resizeHandleNode = put('i.' + this.resizeHandleClass); } this._windowNode = put(node, "div." + containerClass); if (resizeHandleNode) { put(this._windowNode, resizeHandleNode); if (this.resizable) { this._createWindowResizeComponents(); } if (!this.noTitleWindow) { Loading @@ -121,6 +119,24 @@ define([ this._addNodeListeners(); }, _createWindowResizeComponents: function() { this._limitMaxHeightToAvailableHeight(); var resizeHandleNode = put('i.' + this.resizeHandleClass); put(this._windowNode, resizeHandleNode); }, _limitMaxHeightToAvailableHeight: function() { var currMaxHeight = window.innerHeight; if (this._lastMaxHeight !== currMaxHeight) { this._lastMaxHeight = currMaxHeight; domStyle.set(this._windowNode, 'max-height', currMaxHeight + 'px'); } }, _createWindowTitle: function() { this._windowTitleNode = put(this._windowNode, "div." + this.windowTitleClass); Loading Loading @@ -404,6 +420,7 @@ define([ _resize: function() { this._limitMaxHeightToAvailableHeight(); this._prepareToEmitResize(); this.inherited(arguments); Loading
stylesheets @ 55cf3d9b Compare 14562e29 to 55cf3d9b Original line number Diff line number Diff line Subproject commit 14562e294201043f3632e0046c7c81d17159f45a Subproject commit 55cf3d9ba3a0204309a1a87c0b0136401910c212