"ooui-outline-control-move-down": "Prestavi predmet nižje",
"ooui-outline-control-move-up": "Prestavi predmet višje",
"ooui-outline-control-remove": "Odstrani vnos",
- "ooui-toolbar-more": "Več"
+ "ooui-toolbar-more": "Več",
+ "ooui-dialog-confirm-title": "Potrdi",
+ "ooui-dialog-confirm-default-prompt": "Ste prepričani?",
+ "ooui-dialog-confirm-default-ok": "V redu",
+ "ooui-dialog-confirm-default-cancel": "Prekliči"
}
/*!
- * OOjs UI v0.1.0-pre (dd888aba5c)
+ * OOjs UI v0.1.0-pre (527ad0ee5a)
* 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: Fri May 30 2014 21:28:55 GMT-0700 (PDT)
+ * Date: Mon Jun 02 2014 12:15:09 GMT-0700 (PDT)
*/
( function ( OO ) {
}
// Close the window
- this.opened.resolve();
// This.closing needs to exist before we emit the closing event so that handlers can call
// window.close() and trigger the safety check above
this.closing = $.Deferred();
this.frame.$content.find( ':focus' ).blur();
this.emit( 'closing', data );
this.getTeardownProcess( data ).execute().done( OO.ui.bind( function () {
+ // To do something different with #opened, resolve/reject #opened in the teardown process
+ if ( !this.opened.isResolved() && !this.opened.isRejected() ) {
+ this.opened.resolve();
+ }
this.emit( 'close', data );
this.$element.hide();
this.visible = false;
this.setActive( value );
}
- // Parent method
- OO.ui.ToggleButtonWidget.super.prototype.setValue.call( this, value );
+ // Parent method (from mixin)
+ OO.ui.ToggleWidget.prototype.setValue.call( this, value );
return this;
};
/*!
- * OOjs UI v0.1.0-pre (dd888aba5c)
+ * OOjs UI v0.1.0-pre (527ad0ee5a)
* 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: Fri May 30 2014 21:28:55 GMT-0700 (PDT)
+ * Date: Mon Jun 02 2014 12:15:09 GMT-0700 (PDT)
*/
/* Textures */