"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "phprojekt/application/Minutes/SubModules/MinutesItem/Views/dojo/scripts/Form.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.

Form.js  (PHProjekt-6.2.0):Form.js  (PHProjekt-6.2.1)
skipping to change at line 59 skipping to change at line 59
_switchItemFormFields: function(typeValue) { _switchItemFormFields: function(typeValue) {
// Summary: // Summary:
// Toggle visibility of detail form fields // Toggle visibility of detail form fields
// Description: // Description:
// Hides or shows the appropriate form fields for the currently // Hides or shows the appropriate form fields for the currently
// selected topicType. Currently registered types are: // selected topicType. Currently registered types are:
// 1='Topic', 2='Statement', 3='TODO', 4='Decision', 5='Date' // 1='Topic', 2='Statement', 3='TODO', 4='Decision', 5='Date'
var display = (dojo.isIE) ? 'block' : 'table-row'; var display = (dojo.isIE) ? 'block' : 'table-row';
var trDate = dojo.byId(this.main.module + 'topicDate').parentNode.paren tNode.parentNode.parentNode; var trDate = dojo.byId(this.main.module + 'topicDate').parentNode.paren tNode.parentNode.parentNode;
var trUser = dojo.byId(this.main.module + 'userId').parentNode.parentNo de.parentNode.parentNode; var trUser = dojo.byId(this.main.module + 'userId').parentNode.parentNo de.parentNode.parentNode;
switch (parseInt(typeValue)) { switch (parseInt(typeValue, 10)) {
case 3: case 3:
dojo.style(trUser, "display", display); dojo.style(trUser, "display", display);
dojo.style(trDate, "display", display); dojo.style(trDate, "display", display);
dijit.byId(this.main.module + 'userId').set("disabled", false); dijit.byId(this.main.module + 'userId').set("disabled", false);
dijit.byId(this.main.module + 'topicDate').set("disabled", false ); dijit.byId(this.main.module + 'topicDate').set("disabled", false );
if (dojo.isIE) { if (dojo.isIE) {
// Fix the display of the selectBox for IE // Fix the display of the selectBox for IE
dojo.style(dojo.byId(this.main.module + 'userId'), "display" , "inline"); dojo.style(dojo.byId(this.main.module + 'userId'), "display" , "inline");
dojo.style(dojo.byId(this.main.module + 'topicDate'), "displ ay", "inline"); dojo.style(dojo.byId(this.main.module + 'topicDate'), "displ ay", "inline");
} }
 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)