can edit and add an image to a post, still cant remove previously added images #issue #233

This commit is contained in:
Baris Soner Usakli
2013-08-29 21:18:23 -04:00
parent 928594fc7c
commit 54ba6efc93
5 changed files with 29 additions and 9 deletions

View File

@@ -8,7 +8,8 @@ define(['taskbar'], function(taskbar) {
};
function createImageLabel(img, postImages) {
var imageLabel = $('<div class="label label-primary"><span>'+ img.name +'</span></div>');
// var imageLabel = $('<div class="label label-primary"><span>'+ img.name +'</span></div>');
var imageLabel = $('<span class="label label-primary">' + img.name +'</span>');
var closeButton = $('<button class="close">&times;</button>');
closeButton.on('click', function(e) {