Adding the shell of a cookie check. Cleaning up network.js, changing...
Adding the shell of a cookie check. Cleaning up network.js, changing network.js's callbacks to be simpler. * Adding complete to helpers.js, which required a reordering of scripts. * Using complete in network.js so that existence of callbacks is checked automatically. * Add a cookie_check.js module which checks which shows an error message if the user's cookies are disabled. * Get rid of yesterday's code which triggered an event if cookies were disabled. issue #835.
Showing
- resources/static/dialog/css/popup.css 1 addition, 1 deletionresources/static/dialog/css/popup.css
- resources/static/dialog/resources/helpers.js 1 addition, 4 deletionsresources/static/dialog/resources/helpers.js
- resources/static/dialog/start.js 33 additions, 27 deletionsresources/static/dialog/start.js
- resources/static/dialog/views/error.ejs 30 additions, 28 deletionsresources/static/dialog/views/error.ejs
- resources/static/dialog/views/generic.ejs 7 additions, 0 deletionsresources/static/dialog/views/generic.ejs
- resources/static/shared/error-messages.js 9 additions, 0 deletionsresources/static/shared/error-messages.js
- resources/static/shared/helpers.js 15 additions, 4 deletionsresources/static/shared/helpers.js
- resources/static/shared/modules/cookie_check.js 37 additions, 0 deletionsresources/static/shared/modules/cookie_check.js
- resources/static/shared/network.js 42 additions, 40 deletionsresources/static/shared/network.js
- resources/static/shared/xhr.js 0 additions, 4 deletionsresources/static/shared/xhr.js
- resources/static/test/qunit/mocks/xhr.js 1 addition, 1 deletionresources/static/test/qunit/mocks/xhr.js
- resources/static/test/qunit/shared/modules/cookie_check_unit_test.js 64 additions, 0 deletions...tatic/test/qunit/shared/modules/cookie_check_unit_test.js
- resources/static/test/qunit/shared/network_unit_test.js 49 additions, 35 deletionsresources/static/test/qunit/shared/network_unit_test.js
- resources/static/test/qunit/shared/xhr_unit_test.js 0 additions, 13 deletionsresources/static/test/qunit/shared/xhr_unit_test.js
- resources/static/test/qunit/testHelpers/helpers.js 1 addition, 1 deletionresources/static/test/qunit/testHelpers/helpers.js
- resources/views/dialog_layout.ejs 13 additions, 11 deletionsresources/views/dialog_layout.ejs
- resources/views/layout.ejs 9 additions, 7 deletionsresources/views/layout.ejs
- resources/views/test.ejs 5 additions, 3 deletionsresources/views/test.ejs
- scripts/compress.sh 2 additions, 2 deletionsscripts/compress.sh
Loading
Please register or sign in to comment