Commit 7e09d15c authored by Clément Damiens's avatar Clément Damiens

fix move in folder

parent 1386bb02
......@@ -91,12 +91,13 @@ function getFileItem(k,v, edit){
titleDoc="";
if(notNull(v.name))
titleDoc=v.name;
var htmlThumbail = '<li class="content_file '+k+' col-sm-12 col-md-12 col-xs-12 no-padding" data-cat="1" id="'+v.id+'">'+
idDoc=v._id.$id;
var htmlThumbail = '<li class="content_file '+k+' col-sm-12 col-md-12 col-xs-12 no-padding" data-cat="1" id="'+idDoc+'">'+
' <div class="portfolio-item">';
if(edit){
htmlThumbail += '<div class="checkbox-content pull-left">'+
'<label>'+
'<input type="checkbox" class="checkPhoto checkbox-info" data-value="'+v.id+'">'+
'<input type="checkbox" class="checkPhoto checkbox-info" data-value="'+idDoc+'">'+
'<span class="cr"><i class="cr-icon fa fa-check"></i></span>'+
'</label>'+
'</div>';
......@@ -109,7 +110,7 @@ function getFileItem(k,v, edit){
' <i class="fa fa-upload"></i>'+
' </a>';
if(edit){
htmlThumbail+= ' <a href="javascript:;" onclick="updateDocument(\''+v.id+'\', \''+titleDoc+'\')">' +
htmlThumbail+= ' <a href="javascript:;" onclick="updateDocument(\''+idDoc+'\', \''+titleDoc+'\')">' +
' <i class="fa fa-pencil"></i>'+
' </a>';
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment