Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

function fetchEntityDetailsFromCatalog(entityId) {
    $.ajax({
       type     : 'GET',
       url      : '/content/entity!getCatalogDetails?entityId=' + entityId,
       success  : function (response) {
           $("div#items").html(response);
           $("div#items").show();
           $.colorbox({
               inline : true,
               width  : "575px",
               height : "345px",
               href   : "div#items",
               onClosed : function() {
                    $('div#items').hide();
               }
           });
        }
    });
}