"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "phprojekt/application/Calendar2/Views/dojo/scripts/ViewDayListSelect.js" between
PHProjekt-6.2.0.tar.gz and PHProjekt-6.2.1.tar.gz

About: PHProjekt is an application suite that supports communication and management of teams and companies. It includes a group calendar, project management, a request tracker and 12 other modules.

ViewDayListSelect.js  (PHProjekt-6.2.0):ViewDayListSelect.js  (PHProjekt-6.2.1)
skipping to change at line 127 skipping to change at line 127
fillHeaderArray: function() { fillHeaderArray: function() {
// Summary: // Summary:
// Fills the header array with the main row of the table. // Fills the header array with the main row of the table.
var headerData = phpr.DataStore.getData({url: this._header DataUrl}); var headerData = phpr.DataStore.getData({url: this._header DataUrl});
this._header = []; // It is needed to explicitly empty t he array this._header = []; // It is needed to explicitly empty t he array
this._header.columnsWidth = -1; this._header.columnsWidth = -1;
this._header.users = []; this._header.users = [];
for (var user in headerData) { for (var user in headerData) {
var userId = parseInt(headerData[user].id); var userId = parseInt(headerData[user].id, 10);
var display = headerData[user].display; var display = headerData[user].display;
this._header.users[user] = []; this._header.users[user] = [];
this._header.users[user].id = userId; this._header.users[user].id = userId;
this._header.users[user].display = display; this._header.users[user].display = display;
} }
this._header.columnsWidth = Math.floor((100 - this._widthHourColumn) / t his.users.length); this._header.columnsWidth = Math.floor((100 - this._widthHourColumn) / t his.users.length);
}, },
getUserColumnPosition: function(userId) { getUserColumnPosition: function(userId) {
 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)