Forum

6.2.2 Little fix fo...
 
Notifications
Clear all

6.2.2 Little fix for saving

5 Posts
3 Users
0 Reactions
3,430 Views
(@papjul)
Posts: 143
Active Member
Topic starter
 
[#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,


 
Posted : 24 Apr 2017 13H22
(@babynus)
Posts: 14952
Member Admin
 

You're right.
Thanks for the fix.


 
Posted : 24 Apr 2017 16H38
(@pipobru)
Posts: 180
Active Member
 

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


 
Posted : 27 Apr 2017 17H11
(@papjul)
Posts: 143
Active Member
Topic starter
 

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


 
Posted : 27 Apr 2017 17H18
(@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 🙂


 
Posted : 27 Apr 2017 17H41
Share:

Scroll to Top