Forum

6.2.2 Little fix fo...
 
Notifications
Retirer tout

6.2.2 Little fix for saving

5 Posts
3 Utilisateurs
0 Reactions
3,429 Vu
(@papjul)
Posts: 143
Active Member
Début du sujet
 
[#4294]

Hi,

One of 6.2.2 fixes was not well done: https://sourceforge.net/p/projectorria/code/3962/#diff-10
Could you please change:

  } else if (dojo.byId('objectClass') && dojo.byId('objectId')) {
    var url = '../tool/getObjectCreationInfo.php?objectClass='+ dojo.byId('objectClass').value +'&objectId='+dojo.byId('objectId').value;
    loadDiv(url, 'buttonDivCreationInfo', null);
    if (validationType != 'note' && validationType != 'attachment') {
      formInitialize();
    }
    hideWait();
  }

into

  } else {
    if (dojo.byId('objectClass') && dojo.byId('objectId')) {
      var url = '../tool/getObjectCreationInfo.php?objectClass='+ dojo.byId('objectClass').value +'&objectId='+dojo.byId('objectId').value;
      loadDiv(url, 'buttonDivCreationInfo', null);
    }
    if (validationType != 'note' && validationType != 'attachment') {
      formInitialize();
    }
    hideWait();
  }

in projeqtor.js at line ~1420

Have a look at code of version 6.1.x if you don’t understand why this should be done like this.

Thanks,


 
Posté : 24 Avr PM 13:044
(@babynus)
Posts: 14952
Membre Admin
 

You're right.
Thanks for the fix.


 
Posté : 24 Avr PM 16:044
(@pipobru)
Posts: 180
Active Member
 

on my instal this modification not run. Without error but no login are possible.


 
Posté : 27 Avr PM 17:044
(@papjul)
Posts: 143
Active Member
Début du sujet
 

Make sure you didn’t forget a bracket and share with us your JavaScript console logs.


 
Posté : 27 Avr PM 17:044
(@pipobru)
Posts: 180
Active Member
 

very strange I re test for record js console log and the login is OK .... Sorry And after a check i have omit a { caracter after the first ELSE. Sorry again 🙂


 
Posté : 27 Avr PM 17:044
Share:
Retour en haut