/*!
- * OOjs UI v0.1.0-pre (1829141230)
+ * OOjs UI v0.1.0-pre (99ec31d9b9)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-15T22:50:09Z
+ * Date: 2014-10-16T18:08:12Z
*/
/* @noflip */
.oo-ui-rtl {
z-index: 4;
}
.oo-ui-popupTool .oo-ui-popupWidget {
+ /* @noflip */
margin-left: 1.25em;
font-size: 0.8em;
}
}
.oo-ui-popupWidget {
position: absolute;
+ /* @noflip */
+ left: 0;
}
.oo-ui-popupWidget-popup {
position: relative;
display: block;
position: absolute;
top: 0;
+ /* @noflip */
+ left: 0;
background-repeat: no-repeat;
}
.oo-ui-popupWidget-head {
/*!
- * OOjs UI v0.1.0-pre (1829141230)
+ * OOjs UI v0.1.0-pre (99ec31d9b9)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-15T22:49:59Z
+ * Date: 2014-10-16T18:08:01Z
*/
/* Instantiation */
/*!
- * OOjs UI v0.1.0-pre (1829141230)
+ * OOjs UI v0.1.0-pre (99ec31d9b9)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-15T22:50:09Z
+ * Date: 2014-10-16T18:08:12Z
*/
/* @noflip */
.oo-ui-rtl {
z-index: 4;
}
.oo-ui-popupTool .oo-ui-popupWidget {
+ /* @noflip */
margin-left: 1.25em;
font-size: 0.8em;
}
}
.oo-ui-popupWidget {
position: absolute;
+ /* @noflip */
+ left: 0;
}
.oo-ui-popupWidget-popup {
position: relative;
display: block;
position: absolute;
top: 0;
+ /* @noflip */
+ left: 0;
background-repeat: no-repeat;
}
.oo-ui-popupWidget-head {
/*!
- * OOjs UI v0.1.0-pre (1829141230)
+ * OOjs UI v0.1.0-pre (99ec31d9b9)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-15T22:50:09Z
+ * Date: 2014-10-16T18:08:12Z
*/
/* @noflip */
.oo-ui-rtl {
z-index: 4;
}
.oo-ui-popupTool .oo-ui-popupWidget {
+ /* @noflip */
margin-left: 1.25em;
font-size: 0.8em;
}
}
.oo-ui-popupWidget {
position: absolute;
+ /* @noflip */
+ left: 0;
}
.oo-ui-popupWidget-popup {
position: relative;
display: block;
position: absolute;
top: 0;
+ /* @noflip */
+ left: 0;
background-repeat: no-repeat;
}
.oo-ui-popupWidget-head {
overflow-x: hidden;
overflow-y: auto;
}
+.oo-ui-searchWidget-query {
+ height: 2.4em;
+ top: 1px;
+}
+.oo-ui-searchWidget-query .oo-ui-textInputWidget input {
+ border-width: 1px 0;
+}
+.oo-ui-searchWidget-results {
+ top: 2.2em;
+ bottom: 0.2em;
+ line-height: 0;
+}
.oo-ui-window {
line-height: 1em;
}
/*!
- * OOjs UI v0.1.0-pre (1829141230)
+ * OOjs UI v0.1.0-pre (99ec31d9b9)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-15T22:49:59Z
+ * Date: 2014-10-16T18:08:01Z
*/
/**
* @class
/*!
- * OOjs UI v0.1.0-pre (1829141230)
+ * OOjs UI v0.1.0-pre (99ec31d9b9)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-15T22:50:09Z
+ * Date: 2014-10-16T18:08:12Z
*/
/* @noflip */
.oo-ui-rtl {
z-index: 4;
}
.oo-ui-popupTool .oo-ui-popupWidget {
+ /* @noflip */
margin-left: 1.25em;
font-size: 0.8em;
}
}
.oo-ui-popupWidget {
position: absolute;
+ /* @noflip */
+ left: 0;
}
.oo-ui-popupWidget-popup {
position: relative;
display: block;
position: absolute;
top: 0;
+ /* @noflip */
+ left: 0;
background-repeat: no-repeat;
}
.oo-ui-popupWidget-head {
overflow-x: hidden;
overflow-y: auto;
}
+.oo-ui-searchWidget-query {
+ height: 2.4em;
+ top: 1px;
+}
+.oo-ui-searchWidget-query .oo-ui-textInputWidget input {
+ border-width: 1px 0;
+}
+.oo-ui-searchWidget-results {
+ top: 2.2em;
+ bottom: 0.2em;
+ line-height: 0;
+}
.oo-ui-window {
line-height: 1em;
}
/*!
- * OOjs UI v0.1.0-pre (1829141230)
+ * OOjs UI v0.1.0-pre (99ec31d9b9)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-15T22:50:09Z
+ * Date: 2014-10-16T18:08:12Z
*/
/* @noflip */
.oo-ui-rtl {
}
.oo-ui-popupWidget {
position: absolute;
+ /* @noflip */
+ left: 0;
}
.oo-ui-popupWidget-popup {
position: relative;
display: block;
position: absolute;
top: 0;
+ /* @noflip */
+ left: 0;
background-repeat: no-repeat;
}
.oo-ui-popupWidget-head {
/*!
- * OOjs UI v0.1.0-pre (1829141230)
+ * OOjs UI v0.1.0-pre (99ec31d9b9)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-15T22:49:59Z
+ * Date: 2014-10-16T18:08:01Z
*/
/* Instantiation */
/*!
- * OOjs UI v0.1.0-pre (1829141230)
+ * OOjs UI v0.1.0-pre (99ec31d9b9)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-15T22:50:09Z
+ * Date: 2014-10-16T18:08:12Z
*/
/* @noflip */
.oo-ui-rtl {
}
.oo-ui-popupWidget {
position: absolute;
+ /* @noflip */
+ left: 0;
}
.oo-ui-popupWidget-popup {
position: relative;
display: block;
position: absolute;
top: 0;
+ /* @noflip */
+ left: 0;
background-repeat: no-repeat;
}
.oo-ui-popupWidget-head {
/*!
- * OOjs UI v0.1.0-pre (1829141230)
+ * OOjs UI v0.1.0-pre (99ec31d9b9)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-15T22:49:59Z
+ * Date: 2014-10-16T18:08:01Z
*/
( function ( OO ) {
/**
* HTML tag name.
*
- * This may be ignored if getTagName is overridden.
+ * This may be ignored if #getTagName is overridden.
*
* @static
* @inheritable
*
* @param {jQuery.Event} e Mouse wheel event
*/
-OO.ui.WindowManager.prototype.onWindowMouseWheel = function () {
- return false;
+OO.ui.WindowManager.prototype.onWindowMouseWheel = function ( e ) {
+ // Kill all events in the parent window if the child window is isolated,
+ // or if the event didn't come from the child window
+ return !( this.shouldIsolate() || !$.contains( this.getCurrentWindow().$frame[0], e.target ) );
};
/**
case OO.ui.Keys.UP:
case OO.ui.Keys.RIGHT:
case OO.ui.Keys.DOWN:
- // Prevent any key events that might cause scrolling
- return false;
+ // Kill all events in the parent window if the child window is isolated,
+ // or if the event didn't come from the child window
+ return !( this.shouldIsolate() || !$.contains( this.getCurrentWindow().$frame[0], e.target ) );
}
};
var manager = this,
preparing = [],
closing = $.Deferred(),
- opened = this.opened;
+ opened;
// Argument handling
if ( typeof win === 'string' ) {
manager.closing = closing;
manager.preparingToClose = null;
manager.emit( 'closing', win, closing, data );
+ opened = manager.opened;
manager.opened = null;
opened.resolve( closing.promise(), data );
setTimeout( function () {
OO.ui.IconElement.call( this, config );
OO.ui.IndicatorElement.call( this, config );
OO.ui.LabelElement.call( this, config );
- OO.ui.TitledElement.call( this, config, $.extend( {}, config, { $titled: this.$button } ) );
+ OO.ui.TitledElement.call( this, $.extend( {}, config, { $titled: this.$button } ) );
OO.ui.FlaggedElement.call( this, config );
// Properties