12345678910111213141516171819202122232425262728293031 |
- "use strict";
- /*
- *+------------------------------------------------------------------------+
- *| Licensed Materials - Property of IBM
- *| IBM Cognos Products: Content Explorer
- *| (C) Copyright IBM Corp. 2017
- *|
- *| US Government Users Restricted Rights - Use, duplication or disclosure
- *| restricted by GSA ADP Schedule Contract with IBM Corp.
- *+------------------------------------------------------------------------+
- */
- define(['q', 'bi/commons/ui/properties/CheckBox'], function (Q, CheckBox) {
- 'use strict'; //NOSONAR
- var EllipsableCheckbox = CheckBox.extend({
- init: function init(options) {
- EllipsableCheckbox.inherited('init', this, arguments);
- },
- doRender: function doRender() {
- EllipsableCheckbox.inherited('doRender', this, arguments);
- if (this.ellipses) {
- $(this.$el.find('#label' + this.id)).addClass("ellipses");
- }
- return;
- }
- });
- return EllipsableCheckbox;
- });
|