From 5f6b12e9b2b5f3a35d22f690ba4052dd68b7f83d Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Thu, 2 Feb 2017 14:04:23 +0100 Subject: [PATCH 1/1] radio buttons for attachments --- src/editor/views/attachments/attachments.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/editor/views/attachments/attachments.js b/src/editor/views/attachments/attachments.js index 45366ff..31d8095 100644 --- a/src/editor/views/attachments/attachments.js +++ b/src/editor/views/attachments/attachments.js @@ -28,17 +28,21 @@ var attachmentLibrary = function(callback, params) { dataType: 'json', success: function(data, status, jqxhr) { for (var i in data) { - var img = $("") + var img = $(""); + var input = $(""); + var label = $("