[fb] Avoid TypeError on clicking on create folder without a name
_createFolderDetails.slideUp();
});
_folderBtn.click(function () {
+ if (_folderName.val().length > 0) {
$.ajax({
type: "POST",
url: "/filebrowser/mkdir",
$(document).trigger("error", xhr.responseText);
}
});
+ }
});
_createFolderDetails.appendTo(_actions);
