From 1fd091639724dbd282fe42977d1fa3494909a2a0 Mon Sep 17 00:00:00 2001 From: reallyalexpro Date: Thu, 29 May 2014 05:24:47 -0700 Subject: [PATCH] Update filebrowser.js XSRF support for 2.4 --- assets/filebrowser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/filebrowser.js b/assets/filebrowser.js index d0508f0..0da9ddd 100755 --- a/assets/filebrowser.js +++ b/assets/filebrowser.js @@ -65,6 +65,7 @@ function buildForm(data) var $ = jQuery; $("div.right").html('
'); + $("div.right form").append(''); $("div.field", data).each(function(){ $("div.right form").append('
' + $(this).html() + '
'); }); @@ -95,4 +96,4 @@ function getUrlParam(paramName) var reParam = new RegExp('(?:[\?&]|&)' + paramName + '=([^&]+)', 'i') ; var match = window.location.search.match(reParam) ; return (match && match.length > 1) ? match[1] : '' ; -} \ No newline at end of file +}