Hook up the "prolong_session" wsapi call.
* add network.prolongSession * add user.setComputerOwnershipStatus and user.isUsersComputer. setComputerOwnershipSTatus calls network.prolongSession if called with true. * in controllers/is_this_your_computer, call user.setComputerOwnershipStatus issue #1349
Showing
- resources/static/dialog/controllers/is_this_your_computer.js 4 additions, 8 deletionsresources/static/dialog/controllers/is_this_your_computer.js
- resources/static/shared/error-messages.js 4 additions, 0 deletionsresources/static/shared/error-messages.js
- resources/static/shared/network.js 24 additions, 1 deletionresources/static/shared/network.js
- resources/static/shared/user.js 35 additions, 1 deletionresources/static/shared/user.js
- resources/static/test/cases/controllers/is_this_your_computer.js 19 additions, 4 deletions...es/static/test/cases/controllers/is_this_your_computer.js
- resources/static/test/cases/shared/network.js 19 additions, 0 deletionsresources/static/test/cases/shared/network.js
- resources/static/test/cases/shared/user.js 41 additions, 0 deletionsresources/static/test/cases/shared/user.js
- resources/static/test/mocks/xhr.js 4 additions, 1 deletionresources/static/test/mocks/xhr.js
Loading
Please register or sign in to comment