forked from External/greenlight
Fixed issue with invalid csrf token (#724)
This commit is contained in:
parent
46e0595e3a
commit
7bafd41a56
|
@ -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()
|
||||
})
|
Loading…
Reference in New Issue