From eb71e1ac7adc56954646190476eeedf07b720512 Mon Sep 17 00:00:00 2001 From: Sanj Date: Fri, 1 Jul 2011 14:24:47 +0530 Subject: [PATCH] re-ordered file item in list --- edgware/static/js/files/browse.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/edgware/static/js/files/browse.js b/edgware/static/js/files/browse.js index 513e08e..dcf0f68 100644 --- a/edgware/static/js/files/browse.js +++ b/edgware/static/js/files/browse.js @@ -92,9 +92,9 @@ function getItemForm(f) { function getListElement(f) { // console.log(f); var $item = $('
').addClass("fileItem").data("data", f); - var $icon = $('').addClass("fileIcon").attr("src", "/static/images/icons2/" + f.type.toLowerCase() + ".jpg").appendTo($item); - var $title = $('').addClass("fileTitle").text(f.title).appendTo($item); - var $study = $('').addClass("fileStudy").text(" " + f.studies[0].name).appendTo($item); var $checkbox = $('').attr("type", "checkbox").addClass("fileCheckbox").appendTo($item); + var $icon = $('').addClass("fileIcon").attr("src", "/static/images/icons2/" + f.type.toLowerCase() + ".jpg").appendTo($item); + var $study = $('').addClass("fileStudy").text(f.studies[0].name + ": ").appendTo($item); + var $title = $('').addClass("fileTitle").text(f.title).appendTo($item); return $item; }