Update Route in personal.js

It seems personal.js is used in the settings too, so i changed the URL
there too.
This commit is contained in:
sysadminstory 2022-03-22 12:23:51 +01:00
parent 69d4859b71
commit 6eadc60b36

View File

@ -9,7 +9,7 @@ window.addEventListener('DOMContentLoaded', function () {
};
OC.msg.startSaving('#reader-personal .msg');
$.post(OC.filePath('epubreader', 'lib', 'personal-back.php'), data, readerSettings.afterSave);
$.post(OC.generateUrl('apps/epubreader/settings/set'), data, readerSettings.afterSave);
},
afterSave : function(data){
OC.msg.finishedSaving('#reader-personal .msg', data);