Fixed issue with invalid csrf token (#724)

This commit is contained in:
farhatahmad 2019-08-02 16:11:45 -04:00 committed by Jesus Federico
parent 46e0595e3a
commit 7bafd41a56
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@
// You should have received a copy of the GNU Lesser General Public License along
// with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
$(document).on('turbolinks:load', function(){
$.rails.refreshCSRFTokens();
})
document.addEventListener("turbolinks:before-cache", function() {
$(".alert").remove()
})