Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4129 mandeep.dh 1
function fetchEntityDetailsFromCatalog(entityId) {
2
    $.ajax({
3
       type     : 'GET',
4
       url      : '/content/entity!getCatalogDetails?entityId=' + entityId,
5
       success  : function (response) {
6
           $("div#items").html(response);
7
           $("div#items").show();
8
           $.colorbox({
9
               inline : true,
10
               width  : "575px",
11
               height : "345px",
12
               href   : "div#items",
13
               onClosed : function() {
14
                    $('div#items').hide();
15
               }
16
           });
17
        }
18
    });
19
}