"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tine20/Tinebase/js/widgets/grid/FilterToolbar.js" between
tine20-2020.08.3.tar.gz and tine20-2020.08.4.tar.gz

About: Tine 2.0 is a platform independent business software system which combines groupware and customer relationship management (CRM). Commercial support is available. Source code.

FilterToolbar.js  (tine20-2020.08.3):FilterToolbar.js  (tine20-2020.08.4)
skipping to change at line 510 skipping to change at line 510
fixWidths: function() { fixWidths: function() {
var aw = this.getWidth()-250, var aw = this.getWidth()-250,
dim = { dim = {
'tw-ftb-frow-field': Math.floor(aw*0.45), 'tw-ftb-frow-field': Math.floor(aw*0.45),
'tw-ftb-frow-operator': Math.floor(aw*0.17), 'tw-ftb-frow-operator': Math.floor(aw*0.17),
'tw-ftb-frow-value': Math.floor(aw*0.38) 'tw-ftb-frow-value': Math.floor(aw*0.38)
}; };
for (var cls in dim) { for (var cls in dim) {
this.el.select('.' + cls).setWidth(dim[cls]); this.el.select('.' + cls).setWidth(dim[cls]);
this.el.select('.' + cls + ' div[class^=x-form-field-wrap] *[id^=ext -comp-]').each(function(el) { this.el.select('.' + cls + ' div[class^=x-form-field-wrap] *').each( function(el) {
var cmp = Ext.getCmp(el.id); var cmp = Ext.getCmp(el.id);
if (cmp && !cmp.isInnerFTBCmp) { if (cmp && !cmp.isInnerFTBCmp) {
var width = dim[cls] + (cmp.FTBWidthCorrection || 0); var width = dim[cls] + (cmp.FTBWidthCorrection || 0);
if (cmp.wrap) { if (cmp.wrap) {
cmp.wrap.setWidth(width); cmp.wrap.setWidth(width);
} }
cmp.setWidth(width); cmp.setWidth(width);
} }
}); });
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)